Editor Macros PascalScript
From Lazarus wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
General
This feature is available in Lazarus 1.1. To use the feature the package EditorMacroScript must be installed.
This includes the PascalScript package. PascalScript is provided by REM Objects. A minimum package is provided with the Lazarus 1.1 distribution.
Simple actions
All simple Keyboard actions are represented as follows.
- ecLeft;
- Move Caret one to the left (in the editor that invoked the macro)
- ecChar('a');
- Inserts an 'a'
See the unit SynEditKeyCmds in pacckage SynEdit, and IDECommands in IDEIntf for a full list. Or use the Recorder to get the names of actions.