Sign in Join

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

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

lazarus_ide_editor_macros

Miscellaneous lazarus-ide editor macros

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Lazarus IDE Editor Macros

Miscellaneous Lazarus IDE Editor Macros

Macro Description
apostrophe.pas appends the closing apostrophe and places the cursor between the two apostrophes.
parentheses.pas appends the closing parentheses and places the cursor between the two parentheses.
breakline_string.pas simplifies the process of breaking an existing string into two lines
backspace.pas improved backspace, to handle apostrophes and parentheses

Usage

Activate Editor Macros

Lazarus IDE > Package > Install/Unistall Packages...
In 'Available for Installation' list choose these packages

  1. pascalscript
  2. EditorMacroScript
  3. Save and rebuild IDE

Adding Macros

Lazarus IDE > View > Editor Macros

  1. Click in 'Record', press one key and stop macro.
  2. Move the recorded macro to IDE or Project.
  3. Click in 'Edit', replace the code of macro script for the content of .pas file in repository and save.
  4. Click 'Edit Key' to choose the shortcut.

Contributions are welcome, submit a pull request :)