#56: Numbering of non-empty lines |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Category: | Tools | SubCategory: | Columns | |||||||
Status: | Fixed (2013-10-12 12:48:09) | Priority: | Next Release | Difficulty: | Normal | Created: | jsimlo | |||
Version: 6.0.2.beta
|
||||||||||
Comment from jsimlo on Wed, Apr 3, 2013, 16:48 (comment id #108) |
---|
-select 12 lines, some of them must be empty, only a few non-empty, and start the columns tool
-enter mask containing "%>d", which will number the lines from 01 to 12
-the padding with 0 is okay, because some numbers need two digits
-now select "modify non-empty lines only" - this will number lines from 01 to e.g. 07
-the padding with 0 is wrong, because numbers 1 to 7 are all one digit
-the problem is that the padding is always calculated from the total number of all lines
-but the actual numbering is done according to actual presence of non-empty lines
|
Comment from jsimlo on Wed, Apr 3, 2013, 16:48 (comment id #109) |
note: the code actually checks for count of non-empty lines, but then ignores this information in padding calculation
|
Comment from jsimlo on Sat, Oct 12, 2013, 12:47 (comment id #192) |
Padding is now correctly calculated only for non-empty lines.
|