As introduced in the conference "Basic editing, Block operations" -- "Inserting line numbers"
( http://webboard..../read?20356,43 ) I now finished the first version of the macro LINENUMBERS.VDM:
This macro inserts line numbers in front of lines of text.
It does it's work within,
- the highlighted block or
- the whole file,
beginning at the
- Begin_of_File/Block or
- the current cursor position.
The inserted numbers are,
- the real line numbers or
- a counter with first number and increment
The numbers will be inserted,
- unpadded or
- padded with
- leading &spaces or
to a fixed ( ( ) minimized ) width
using as divider between number and text
- a literally given string or
- a translated list of space-separated hex/dec values
(e.g. "9" // a TAB (decimal)
"0x20") // a space (hex)
Please let me know about errors you may find.
And if there are suggestions for enhancements or so: The same.