jEdit macros can
be written in BeanShell or any scripting language for which the appropriate
plugin is installed (for example, Python scripting is provided by the
JythonInterpreter plugin).
See the
Writing Macros part of the jEdit user's guide
(Help>jEdit Help) to find out more about
BeanShell.