Community
    • Login

    TABs en COBOL

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    12 Posts 5 Posters 6.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ricardo Fernández23R
      Ricardo Fernández23
      last edited by

      Hello, good evening.
      The only thing that has prevented me from working with Notepad ++ in COBOL language programs, is the sequence of TABs it has configured.
      While the first TAB is positioned correctly in Column 8 of the line, the following jump 7 digits forward when historically 4 digits have been used.
      Therefore, I suggest that we analyze the possibility of adapting the TABs so that the second and further, every 4 digits, which would be equivalent to a sequence of columns like the following: 8, 12, 16, 20, etc. (Up to and including 72).
      In case of being instrumented, I would decide to use Notepad ++ for all my developments in COBOL.
      Sincerely,
      Ricardo Fernández.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • chcgC
        chcg
        last edited by

        Similar to this behaviour
        https://www.ibm.com/support/knowledgecenter/SSPSQF_9.0.0/com.ibm.etools.rdz.language.editors.doc/tasks/tzeditortabs_cobol.html

        1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank @Ricardo Fernández23
          last edited by

          @Ricardo-Fernández23

          Do not really understand your concerns.
          Me you enlight me?

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • Li NatalieL
            Li Natalie
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • NippurDeLagashN
              NippurDeLagash
              last edited by

              I think that Ricardo needs a distance between tabs stops always set to 4 spaces, except for the first column, which goes on column 8.

              Notepad++ does not provide this feature. You can set tab stops at either 4 or 8, but not both.

              Ricardo Fernández23R 1 Reply Last reply Reply Quote 0
              • NippurDeLagashN
                NippurDeLagash
                last edited by

                If the feature could be implemented like in UltraEdit, Ricardo will get what he needs by setting the Tab size to “8,4”.

                1 Reply Last reply Reply Quote 0
                • Ricardo Fernández23R
                  Ricardo Fernández23 @NippurDeLagash
                  last edited by

                  Good morning everyone … Exactly, @NippurDeLagash, is what we need those we program in COBOL and we maintain some criteria to encode.

                  1 Reply Last reply Reply Quote 0
                  • Ricardo Fernández23R
                    Ricardo Fernández23
                    last edited by

                    Estimates, the sequence of Tabs would look something like this:

                    (http://imgur.com/JhLLkHv)

                    Claudia FrankC 1 Reply Last reply Reply Quote 0
                    • Claudia FrankC
                      Claudia Frank @Ricardo Fernández23
                      last edited by

                      @Ricardo-Fernández23

                      but this looks like you need 7 spaces and on column 8 (counting starts by 1) you start
                      typing, correct?
                      So two tabs, each 4 spaces wide, is 1 space to big?

                      If this is the case, do you use python script plugin?

                      Cheers
                      Claudia

                      1 Reply Last reply Reply Quote 0
                      • Ricardo Fernández23R
                        Ricardo Fernández23
                        last edited by

                        Dear Claudia, it is correct that you must leave 7 spaces at the beginning and start writing in column 8 and thereafter have tabulations of 4 spaces, ie being able to stop in columns multiple of 4 thereafter.
                        The Python plugin with 2 Tabs stops in column 9, instead of 8 (which is what we need the coboleros) and although it replaces the Tabs by spaces, always jumps predetermined to columns 9, 13, 17, etc.
                        The correct thing is that it works, as NippurDeLagash comments, just like UltraEdit, setting an initial Column (new parameter for Notepad ++) and a fixed value for the rest of the Tabs.
                        You could also set a new parameter that indicates the Initial Column, based on the update of the product, Column 1, but can be fixed Column 0 (zero), which would allow, with a Tab of 4, meet the needs.
                        Again thank you for meeting this concern.
                        Sincerely,

                        Ricardo

                        Claudia FrankC 1 Reply Last reply Reply Quote 0
                        • Claudia FrankC
                          Claudia Frank @Ricardo Fernández23
                          last edited by Claudia Frank

                          Hello Ricardo,

                          I not really a c++ developer but I could offer a solution with python script plugin and a script
                          (NOT python langauage from menu) but this makes only sense if you (and/or your company) are
                          using the python script plugin.

                          Cheers
                          Claudia

                          1 Reply Last reply Reply Quote 0
                          • Ricardo Fernández23R
                            Ricardo Fernández23
                            last edited by

                            Hi Claudia,
                            As it was said, the Python plugin does not meet our need.
                            I understand that it is difficult to resolve to add a new parameter that indicates in which column to position the first Tab, so I appreciate your concern.
                            And I also applaud the philosophy of those who continue to keep Notepad ++ as a free product, at a time when mercantilism seems to be a difficult north to divert.
                            Sincerely,
                            Richard

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            The Community of users of the Notepad++ text editor.
                            Powered by NodeBB | Contributors