- most macros are added using the Macro Commands window, which is opened
using:
Preferences->Default Settings->Customize Menus->Macro menu...
here you can give the macro a menu entry, accelerator and/or mnemonic. The
acutal macro command can be cut and pasted from the web page into the `command
to execute' dialog.
- macro functions are often given in nedit macro (.nm) files, which can
be downloaded from the macro list. To use these macros, you will first need to
add a
load_macro_file("<path/filename>")
command to your .neditmacro file. Alternatively, you can add the
contents of the .nm file to .neditmacro, which can reduce
start-up times.
You will then need to add a macro which calls the function using the Macro Commands window,
eg. to use the centerline macro function, you'll need to add the function to
.neditmacro, then create a macro which executes the single command:
centerline()
- some macros use nedit's `smart indent' feature, and are added using
the Smart Indent Macros window, opened using:
Preferences->Default Settings->Auto Indent->Program Smart Indent...
the macro can then be cut and pasted into the relevant dialogs.