[Lazarus] Feature Request: IDE user defined recorded macros
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Thu Feb 23 10:01:25 CET 2017
Hi,
Are there any plans to add user recorded macros support to Lazarus IDE?
Many text editors have this built-in, and allows for a huge amount of
“extending the editor’s features” without modify the underlying
program's source code. We can simply record a sequence of actions, give
it a name, assign it a keyboard shortcut and play it back when we need
that functionality.
I was quite surprised to see Lazarus IDE doesn’t have that. Maybe I’m
simply overlooking the feature (very possible), or it’s enabled via an
external IDE package add-on?
See attached screenshot of a commercial text editor called EditPad Pro
7. It has extensive support for user recorded macros. You can even
export the macro to a INI file, edit the macro and then import it again.
Here is an example of an exported "join lines" macro.
==================
[EditPadProMacro]
Caption=Join Lines
ShortCut=16458
CommandCount=6
C0=Editor.CaretDown
C1=Editor.CaretHome
C2=Editor.CaretEnd
C3=Actions.ActionExtraTrimLeading
C4=Editor.CaretUp
C5=Editor.Backspace
[EditPadProMacroC2]
ExpandSel=1
==================
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_recorded_macros.png
Type: image/png
Size: 6323 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170223/85b02bd0/attachment.png>
More information about the Lazarus
mailing list