Page 1 of 1

Add line numbers

Posted: Tue Feb 07, 2006 1:27 am
by lngzlz
I find that the filter of "Add line numbers" can be expanded in terms of its function.

So far it can only be added to the start of line or preceded by a certain constant string.

I would like to suggest:


1) it can be used as the subfilter of "Restrict columns" (that is, incremental numbers can be inserted in the column range recursively)

2) the width of "Format" combo box need to be widened so that users can add longer leading characters. For example, when users want to downloading files by creating such a series of URLs:

http://www.zzz.com/01.txt
http://www.zzz.com/02.txt
http://www.zzz.com/03.txt
http://www.zzz.com/04.txt
http://www.zzz.com/05.txt
http://www.zzz.com/06.txt
http://www.zzz.com/07.txt
http://www.zzz.com/08.txt
http://www.zzz.com/09.txt
http://www.zzz.com/10.txt
http://www.zzz.com/11.txt
http://www.zzz.com/12.txt
http://www.zzz.com/13.txt
http://www.zzz.com/14.txt
http://www.zzz.com/15.txt
http://www.zzz.com/16.txt
http://www.zzz.com/17.txt
http://www.zzz.com/18.txt
http://www.zzz.com/19.txt
http://www.zzz.com/20.txt

Posted: Fri Feb 10, 2006 4:07 pm
by lngzlz
Hello, Simon. How about my suggestions? :oops:

Posted: Thu Feb 16, 2006 2:02 pm
by DataMystic Support
We've added a new option, 'Don't reset at end of file' to the line number filter to handle this. It will be in the next release.

Posted: Fri Feb 17, 2006 4:51 pm
by lngzlz
Is it possible for next release to replace the XXX position in the following text with an increamental numbers like 01, 02, ..., 81?
<p><a href="http://dot.com/YfLRjm6imZ9pKjlL4xp">Download XXX</a></p>
<p><a href="http://dot.com/S/8yKfM6p6HXLizX4eq">Download XXX</a></p>
<p><a href="http://dot.com/n8lqqVa2H23uzkD+SOf">Download XXX</a></p>
<p><a href="http://dot.com/0zKX/i4Hk91h5aJ3/b5">Download XXX</a></p>
<p><a href="http://dot.com/0upoREDwGRhFHGT5BsM">Download XXX</a></p>
<p><a href="http://dot.com/3xTPMfOaYmy1HSqx7OM">Download XXX</a></p>
<p><a href="http://dot.com/oViXYDUVn+GTtIY4T6x">Download XXX</a></p>
<p><a href="http://dot.com/Te7ydUQFyCrCrNQ76Jv">Download XXX</a></p>
<p><a href="http://dot.com/MrqyIYfmbdWVVtHEfkE">Download XXX</a></p>
<p><a href="http://dot.com/Pe1EGLiseTk+6swRh2w">Download XXX</a></p>
<p><a href="http://dot.com/Li/pSIiqtb6yFG9Ar79">Download XXX</a></p>
<p><a href="http://dot.com/uu+Oomr8i3G29AmQzxS">Download XXX</a></p>
<p><a href="http://dot.com/i9ToUfw3SgblRwvQn5B">Download XXX</a></p>
<p><a href="http://dot.com/77GCRFfY55QStttwVlu">Download XXX</a></p>
<p><a href="http://dot.com/3M3or1KZcBPQX22if/R">Download XXX</a></p>
<p><a href="http://dot.com/VDuw4bydXK1mVzFBlSe">Download XXX</a></p>
<p><a href="http://dot.com//5prmTWr6lT/J/lBJFe">Download XXX</a></p>
<p><a href="http://dot.com/H9BuZGGt2gW/dctzawh">Download XXX</a></p>
<p><a href="http://dot.com/Y+24Evs2iDFMonY5d0e">Download XXX</a></p>
<p><a href="http://dot.com//NX+d1K46AjIig36Z1X">Download XXX</a></p>
<p><a href="http://dot.com/TBM/ZRpsR+y6s/it9i8">Download XXX</a></p>
<p><a href="http://dot.com//EmHWCr7HFC0cevJGNi">Download XXX</a></p>
<p><a href="http://dot.com/axwPLS+WuSuUlQAEz9K">Download XXX</a></p>
<p><a href="http://dot.com/hc+mo7uZ7RG5BCzlm9u">Download XXX</a></p>
<p><a href="http://dot.com/NXB0WnIeLunUMdWRtSH">Download XXX</a></p>
<p><a href="http://dot.com/8b0IyFMX9qe8VwvpYSh">Download XXX</a></p>
<p><a href="http://dot.com/923ChLcEYiNTDsCA0dq">Download XXX</a></p>
<p><a href="http://dot.com/vYBbZJh4uen1JhEjCfL">Download XXX</a></p>
<p><a href="http://dot.com/ZclyymWhVqupcCRNYU+">Download XXX</a></p>
<p><a href="http://dot.com/py0TWXe0BChWhNmUOzo">Download XXX</a></p>
<p><a href="http://dot.com/n5+XsBX1BOzs2w2vB5e">Download XXX</a></p>
<p><a href="http://dot.com/rvDi3bBXsiPv5UjApMiX">Download XXX</a></p>
<p><a href="http://dot.com/r8TRG6aIXGA0ySWcGZCa">Download XXX</a></p>
<p><a href="http://dot.com/rcDpUwswg+1kMo728Z9Y">Download XXX</a></p>
<p><a href="http://dot.com/rA3WmIyMLL8uuOEOsN5w">Download XXX</a></p>
<p><a href="http://dot.com/rZb2lFZqSr7FxZunZQBO">Download XXX</a></p>
<p><a href="http://dot.com/rhC2vDns3PM3qKWDuZeV">Download XXX</a></p>
<p><a href="http://dot.com/rtcdAAjrVRhwkAOCb5+f">Download XXX</a></p>
<p><a href="http://dot.com/rueaezrVIWUlRN/prx+d">Download XXX</a></p>
<p><a href="http://dot.com/rNEzios/aO2fkgIgSnlb">Download XXX</a></p>
<p><a href="http://dot.com/r0gQcKrn9EtLXG1h9X5Y">Download XXX</a></p>
<p><a href="http://dot.com/r6iYxsqF8oJzva4n6aC8">Download XXX</a></p>
<p><a href="http://dot.com/rX9yXsEaIWlJOy2oFs/k">Download XXX</a></p>
<p><a href="http://dot.com/reM7TSGXySHEDA+L8up3">Download XXX</a></p>
<p><a href="http://dot.com/rNIawr7zRnB/X4atOZdw">Download XXX</a></p>
<p><a href="http://dot.com/rGwGB6VenwMymuiIFNKI">Download XXX</a></p>
<p><a href="http://dot.com/r3QQyTVbdFyidfsN4WcW">Download XXX</a></p>
<p><a href="http://dot.com/rTygZZusLfq+iOiZQoL4">Download XXX</a></p>
<p><a href="http://dot.com/rxp4Y0SL3LGuln8JmKCJ">Download XXX</a></p>
<p><a href="http://dot.com/rBSiEeEZt9nj6g7GvSpA">Download XXX</a></p>
<p><a href="http://dot.com/rjweHMA7m5iH1QVxCElg">Download XXX</a></p>
<p><a href="http://dot.com/rEdLbNXLt4q3UlbIvaG5">Download XXX</a></p>
<p><a href="http://dot.com/riU+XD7neQZgx7w7btUt">Download XXX</a></p>
<p><a href="http://dot.com/rKJJUturBAmw8dzcD7MG">Download XXX</a></p>
<p><a href="http://dot.com/rWcKzV56qGakYKd8Rps0">Download XXX</a></p>
<p><a href="http://dot.com/rxtvXEN3BMYGe/yw0XVU">Download XXX</a></p>
<p><a href="http://dot.com/rBliH9AGaJ+yJPtv4Xby">Download XXX</a></p>
<p><a href="http://dot.com/roeUccPVXfhHZPXF0+qv">Download XXX</a></p>
<p><a href="http://dot.com/r1cuKGwzgQtRJbZdW6VK">Download XXX</a></p>
<p><a href="http://dot.com/rY63YdIZrl0skO27r8PF">Download XXX</a></p>
<p><a href="http://dot.com/rCEh7FHupfHjyfO8Nte3">Download XXX</a></p>
<p><a href="http://dot.com/rJwnXo8AIqwLuh0A/HiQ">Download XXX</a></p>
<p><a href="http://dot.com/rrAn0+wTOLHI4fCASZ8X">Download XXX</a></p>
<p><a href="http://dot.com/rEDdTpEHrrXOTpmbwJDQ">Download XXX</a></p>
<p><a href="http://dot.com/rDAWnvmXw9n5z/Hl0WUA">Download XXX</a></p>
<p><a href="http://dot.com/rJuVoNC8EaOOFakxaO1I">Download XXX</a></p>
<p><a href="http://dot.com/rbMUfwqhLQ0wi1PH2JfH">Download XXX</a></p>
<p><a href="http://dot.com/rhDAOKgLRgIAkv38AkM5">Download XXX</a></p>
<p><a href="http://dot.com/rtdHmxL9rylIEfwg8Rtx">Download XXX</a></p>
<p><a href="http://dot.com/rAhGn8fViqxCkZbDE+Cs">Download XXX</a></p>
<p><a href="http://dot.com/r1LnJnOSqxDQL/lqNlNQ">Download XXX</a></p>
<p><a href="http://dot.com/rPGe/R0F8k6FBMU3gol6">Download XXX</a></p>
<p><a href="http://dot.com/rJt/AB9NlKJO5lyiI9cK">Download XXX</a></p>
<p><a href="http://dot.com/rvB8aK+mbXhTuf95GV4G">Download XXX</a></p>
<p><a href="http://dot.com/rnOW6ql3zQAA4ym4dBt3">Download XXX</a></p>
<p><a href="http://dot.com/rPcnkIvutV1kXB6D5wS7">Download XXX</a></p>
<p><a href="http://dot.com/rC3pRXFZm5Wl5Z6Dgv29">Download XXX</a></p>
<p><a href="http://dot.com/rofheNqLdesMiHv3zmpQ">Download XXX</a></p>
<p><a href="http://dot.com/rkO9SMMRMlbl7lcnDRly">Download XXX</a></p>
<p><a href="http://dot.com/ry1cgbz8UeOJUvPd8k7d">Download XXX</a></p>
<p><a href="http://dot.com/rNBGpy3wuQaB3v9Og8UD">Download XXX</a></p>
Pay attention to the fact that every line is different!
Thanks a lot!

Posted: Fri Feb 17, 2006 8:45 pm
by DataMystic Support
Yes - just use a search/replace for XXX, and replace with $0. Inside this, add an Add Line Numbers filter with the new option. You will then have to remove the XXX.

Posted: Sat Feb 18, 2006 1:56 am
by lngzlz
Thanks a lot.

Is it possible for me to insert the line number in the XXX position instead of searching and replacing?

I mean, can "add line number" be set as a macro which can be inserted into the place users specify?

Posted: Mon Feb 20, 2006 8:57 am
by DataMystic Support
Yes - you use the search/replace to control where the line number gets inserted.