TABs en COBOL
-
-
This post is deleted! -
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.
-
If the feature could be implemented like in UltraEdit, Ricardo will get what he needs by setting the Tab size to “8,4”.
-
Good morning everyone … Exactly, @NippurDeLagash, is what we need those we program in COBOL and we maintain some criteria to encode.
-
Estimates, the sequence of Tabs would look something like this:
-
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 -
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
-
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 -
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