Add line numbers

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
lngzlz
Posts: 41
Joined: Wed Sep 21, 2005 10:43 pm

Add line numbers

Post 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
lngzlz
Posts: 41
Joined: Wed Sep 21, 2005 10:43 pm

Post by lngzlz »

Hello, Simon. How about my suggestions? :oops:
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post 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.
lngzlz
Posts: 41
Joined: Wed Sep 21, 2005 10:43 pm

Post 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!
Last edited by lngzlz on Sun Apr 09, 2006 9:07 am, edited 1 time in total.
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post 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.
lngzlz
Posts: 41
Joined: Wed Sep 21, 2005 10:43 pm

Post 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?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Yes - you use the search/replace to control where the line number gets inserted.
Post Reply