pdavit:
--------------------------------------------------------------------------------
... I was wandering if PSPad supports coping a text selection with the line
numbering in front. 
...
--------------------------------------------------------------------------------

I just about another much simpler idea, I discovered after making the above
script ... :-)
You can *select* a needed text, call *search* (Ctrl+F), fill the
search phrase 
_.*_ 
using 
[x] regular expression 
[x] add line numbers

The _Copy_ function should then create a new tab with the whole selected
text with line numbers added.

Edit:
Unfortunately the search results are not identical, as they don't contain empty
lines (I'd have thought, that .* must also match an empty line, but for some
reason it doesn't )

vbr

-- 
<http://forum.pspad.com/read.php?2,48382,49851>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem