• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..09-Oct-2021-

src/H09-Oct-2021-3,2022,240

AUTHORSH A D16-Jul-201755 21

COPYINGH A D16-Jul-201717.6 KiB341281

ChangeLogH A D16-Jul-2017105 42

INSTALLH A D16-Jul-2017743 2414

Makefile.amH A D16-Jul-201780 53

Makefile.inH A D29-Sep-202126.9 KiB865779

READMEH A D16-Jul-20172.6 KiB4438

THANKSH A D16-Jul-2017263 43

README

1geanymacro is a plugin to provide user defined macros for Geany. It started out
2as part of the ConText feature parity plugin, which was split into individual
3plugins to better suit Geany's ethos of being as light as possible while
4allowing users to select which features they want to add to the core editor.
5The idea was taken from a Text Editor for Windows called ConText.
6
7This plugin allows you to record and use your own macros. Macros are sequences
8of actions that can then be repeated with a single key combination. So if you
9had dozens of lines where you wanted to delete the last 2 characters, you could
10simple start recording, press End, Backspace, Backspace, down line and then
11stop recording. Then simply trigger the macro and it would automatically edit
12the line and move to the next. You could then just repeatedly trigger the macro
13to do as many lines as you want.
14
15Select Record Macro from the Tools menu and you will be prompted with a dialog
16box. You need to specify a key combination that isn't being used, and a name
17for the macro to help you identify it. Then press Record. What you do in the
18editor is then recorded until you select Stop Recording Macro from the Tools
19menu. Simply pressing the specified key combination will re-run the macro.
20
21To edit the macros you already have, select Edit Macro from the Tools menu. You
22can select a macro and delete it, or re-record it. Selecting the edit option
23allows you to view all the individual elements that make up the macro. You can
24select a diferent command for each element, move them, add new elements, delete
25elements, or if it's replace/insert, you can edit the text that replaces the
26selected text, or is inserted. You can also click on a macro's name and change
27it, or the key combination and re-define that assuming that the new name or key
28combination are not already in use.
29
30The only thing to bear in mind is that undo and redo actions are not recorded,
31and won't be replayed when the macro is re-run.
32
33You can alter the default behaviour of this plugin by selecting Plugin Manager
34under the Tools menu, selecting this plugin, and cliking Preferences.
35You can change:
36
37Save Macros when close Geany - If this is selected then Geany will save any
38    recorded macros and reload them for use the next time you open Geany, if
39    not they will be lost when Geany is closed.
40Ask before replaceing existing Macros - If this is selected then if you try
41    recording a macro over an existing one it will check before over-writing
42    it, giving you the option of trying a different name or key trigger
43    combination, otherwise it will simply erase any existing macros with the
44    same name, or the same key trigger combination.