Hi,
Is there in Lazarus a "record editor macro", like Delphi (CTRL+SHIFT+R)?
See http://delphi.about.com/od/adptips2005/qt/editorshortcuts.htm
Marcos Douglas

Mailing lists / lazarus / 2011-05
9 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
Is there in Lazarus a "record editor macro", like Delphi (CTRL+SHIFT+R)?
See http://delphi.about.com/od/adptips2005/qt/editorshortcuts.htm
Marcos Douglas
This is also in my to-do list :-D
There's a component in the upstream SynEdit, but I don't know whether it's totally compatible with the Lazarus version.
Best regards,
Fl?vio
2011/5/3 Fl?vio Etrusco
Fl?vio or someone has something news about "recording editor macro" in Lazarus?
Marcos Douglas
Best of my knowledge, there are no changes. Unless someone has unpublished work at home
2011/5/3 Fl?vio Etrusco Fl?vio or someone has something news about "recording editor…
There is now.
Very basic though.
shift ctrl-r record/ stop record
shift ctrl-p play or pause/resume-record
- There is one and only one macro for the entire IDE
- It can be played in any editor (one editor at a time only)
- It can be recorded in any editor (one editor at a time only)
If the editor changes during record, then the old editor stays recording. No other editor can record, until finished. (It does not stop recording, so the user can look at another editor)
If an editor-tab-changing command is recorded, it will be replayed. But the remainder of the macro keeps being played to the initial editor. (In future such commands should not be recorded)
Martin wrote- There is one and only one macro for the entire IDE - It can be played in any editor (one editor at a time only) - It can be recorded in any editor (one editor at a time only)
Cool, finally :)
Is that available to any TSynEdit?
Best Regards
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120219/33c57c59/attachment.html>
The component is in the palette, yes.
If you work with more than one synedit and want to share the macro (rather than each edit having a separate macro) you need to do tiny bit of code.
SyncroEdit was also added to palette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120219/50003948/attachment.html>
There is now. Very basic though. shift ctrl-r record/ stop record shift ctrl-p play or…
Very cool!
I will try, thanks.
Marcos Douglas
Worked perfectly, thanks very much.
Marcos Douglas