Table of Contents
jEdit comes with a large number of sample macros that perform a variety of tasks. The following index provides short descriptions of each macro, in some cases accompanied by usage notes.
In addition to the macros included with jEdit, a very large collection of user-contributed macros is available in the “Downloads” section of the community.jedit.org web site. There are detailed descriptions for each macro as well as a search facility.
These macros are useful for C/C++ programming.
Include_Guard.bsh
Inserts conditional preprocessor directives around a header file, to prevent it from being included multiple times.
The name of the generated preprocessor macro is based on the buffer's name.
Toggle_Header_Source
Toggles between the header and the implementation file. Works for .c, .cxx, and .cpp extensions.