[Lazarus] Copy only visible lines from the editor

Martin Frb lazarus at mfriebe.de
Mon Oct 6 21:29:16 CEST 2014


On 06/10/2014 19:00, Fabio Luis Girardi wrote:
> I don't know if this feature exists on Lazarus, but is possible to 
> copy to clipboard only visible lines? See the attached picture to see 
> a example...

No, it doesn't exist. Not planned either.

But what might work instead, and without the need to fold:

Write a macro (pascal script 
http://wiki.lazarus.freepascal.org/Editor_Macros_PascalScript ), that 
appends the selection to the clipboard
   clipboard.astext := clipboard.astext + Sender.SelText;

Then copy, the first line, select the next, append, ....




More information about the Lazarus mailing list