Difference between revisions of "IDE Window: Editor Macros"
From Free Pascal wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
+ | <u>Lazarus 1.0 supports only macros via keyboard</u> | ||
+ | The Editor Macro window is not available in the released Lazarus 1.0. It is only present in SVN and trunk snapshots. | ||
+ | |||
+ | __TOC__ | ||
= Editor Macros = | = Editor Macros = | ||
− | |||
− | |||
− | |||
[[File:Editor_macros.png]] | [[File:Editor_macros.png]] |
Revision as of 14:52, 27 June 2012
Lazarus 1.0 supports only macros via keyboard The Editor Macro window is not available in the released Lazarus 1.0. It is only present in SVN and trunk snapshots.
Editor Macros
Lazarus allows you to record any amount of macros. Using the Editor Macro window you can select which macro is currently used. You can also save macros by moving them to the project session, or the IDE config.
Display
The macros are displayed in 3 groups:
- Recorded
- Shows newly recorded macros. These macros are not saved, and will be lost if the IDE is closed
- Project
- Shows macros that are saved with the project session. Each project can have it's own set of macros.
If the project is configured not to save a session, then macros in this group are not saved, and will be lost when the project is closed. - IDE
- Shows macros that are saved with the IDE config. These macros are available to all projects
Macros can be moved between Project and IDE
Macros can have a status icon:
- Current macro. This can be set using the "Select" button. This is the macro that is played, if using the keyboard shortcut.
- This macro is currently being recorded.
- This macro is currently playing.
- Broken macro. This indicates that the macro could not be loaded from the config. The macro can not be used. (It will be kept (in it's broken form) in the config)
Interface
- Todo
Using macros by keyboard
By Default the following 2 key shortcuts are set up:
- ⇧ Shift+Ctrl+P Play the current macro
- ⇧ Shift+Ctrl+R Start/Stop recording a new macro
- During recording, the shortcut for play can be used to pause recording