Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-10

Copy only visible lines from the editor

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Fabio Luis Girardi

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...

The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141006/caf3470c/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: onlyvisibleLines.png Type: image/png Size: 37600 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141006/caf3470c/attachment-0001.png>

Reply by email

Martin Frb
to Fabio Luis Girardi
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, ....

Reply by email