jEdit Community - Resources for users of the jEdit Text Editor
Euphoria Edit Mode (euphoria.xml v1.0 by Matija Kejzar)
Submitted by mkejzar on Monday, 22 August, 2005 - 13:58
Edit Mode for the Euphoria Programming Language.

To install it, add <MODE FILE="euphoria.xml" NAME="euphoria" FILE_NAME_GLOB="*.{e,ex}" FIRST_LINE_GLOB="#!/*ex*"/> to your catalog xml file.
Recent Files (Recent_Files.bsh v1.0 by Jeroen Budts (TeRanEX))
Submitted by TeRanEX on Saturday, 20 August, 2005 - 18:47
A macro to easily re-open a recent file. This is a modified version of Buffer_Switcher.bsh (written by Ollie Rutherfurd), to show recent files instead of open buffers.
Write Active Plugins to Buffer (Write_Active_Plugins_To_Buffer.bsh v1.0 by Jeroen Budts (TeRanEX))
Submitted by TeRanEX on Wednesday, 17 August, 2005 - 21:12
This macro creates a new buffer an writes a list of currently active plugins to it. The list is formatted in DokuWiki's table syntax. (formatting can easily be changed)
Select lines matching regex (Select_Lines_Matching_regex.bsh v1.0 by De Franciscis Dimitri)
Submitted by megadix on Friday, 12 August, 2005 - 09:45
Selects lines matching a regular expression
  • remembers previous values
  • suggested shortcut: CTRL-G (next to CTRL-F "Find")
R syntax (r.xml v1.0 by Jose Claudio Faria)
Submitted by jcfaria on Thursday, 4 August, 2005 - 21:36
This file shows R language syntax like Tinn-R program.
Create Scratch Buffer (Create_Scratch_Buffer.bsh v1.0 by TeRanEX)
Submitted by TeRanEX on Tuesday, 2 August, 2005 - 22:52
a BeanShell macro script to rapidly create temporary buffers in a specified directory, using a random name for the buffer. When you bind a shortcut to it (by example CS+n) this allows you to easily create a buffer to take notes and still save it without having to think about a name/location (just in case your computer crashes). By using the Delete_Buffer.bsh macro you can delete the buffer as easily as you created it. (i'm not entirely sure if "scratchbuffer" is a good name for this kind of buffer. Better names are welcome :))
HDL Parser (HDLParser.jar v0.2 by Igor Lesik)
Submitted by curoles on Tuesday, 2 August, 2005 - 22:44
Now supports VHDL
Switch Project (Switch_Project.bsh v1.0 by Jeroen Budts (TeRanEX))
Submitted by TeRanEX on Wednesday, 27 July, 2005 - 16:50
A BeanShell macro script to easily switch between Projects (this macro requires the ProjectViewer plugin to work!). It is based on Buffer Switcher by Ollie Rutherfurth
Sleek Color Schemes ( v1.0 by sleek)
Submitted by sleek on Thursday, 14 July, 2005 - 19:41
This is a set of 2 color schemes I use when I'm programming in PHP. One is dark, the other is light. Enjoy
VC++ v7.1 (.NET) Commando File (VC++.xml v2 by Jeff Jackowski)
Submitted by jeffj on Sunday, 25 January, 2004 - 23:21
Invokes the compiler from MS Visual C++ v7. Has several options for figuring out the solution and project names based on path, or can be entered manually. The solution and project files must already exist. The path to DEVENV.EXE must not contain spaces or must be in the PATH enviornment variable. The error list plugin works pretty well with the output.
Browse and link (browseAndLink.bsh v20-Mar-05 by Pavel Štětina and Jean-François Magni)
Submitted by jfm on Tuesday, 2 November, 2004 - 13:16
(If this macro doesn't work using the macro manager, download it directly from This macro opens a file browser in order to insert links with relative path in an html file. It can be used for linking html, pdf, images, shortcut icons, style sheet files and Javascript files. For images, "width" an "height" in pixel are added. If html files are selected in the file browser, the anchors and id's of this file are listed in a dialog window. It is also possible to edit existing tags (e.g., img) and much more.
PHP edit mode (php.xml v2005-03-18 by blueyed)
Submitted by blueyed on Thursday, 30 December, 2004 - 05:19
Merged the version from Scott with the CVS version and wrote a PHP script to extract the functions, classes and aliases from automatically. Besides there are some more changes I've made with help from Scott regarding the handling of variables in literals and class variables/methods in general. A raw definition of token type usage:
  • FUNCTION: own functions
  • KEYWORD1: language constructs (__FILE__, break, extends, ..)
  • KEYWORD2: internal functions (PHP, xdebug, SimpleTest/PHPUnit), DTD tags
  • KEYWORD3: variable names (plus true, false, null)
  • KEYWORD4: class relevant things (definitions, methods, vars)
  • LITERAL1: literals
  • LITERAL2: HTML entities
  • COMMENT1: "#", "/* */"
  • COMMENT2: "//" and HTML comments
  • COMMENT3: PHPdoc
Ruby Edit Mode - Minor correction (ruby.xml v0.6 by Karl von Laudermann)
Submitted by doodpants on Monday, 7 February, 2005 - 06:07
Fixed misspelling of $LOAD_PATH, so it now highlights properly.
Load Classes To Instantiate (Load_Classes2Instantiate.bsh v1.1 by Jakub (Kuba) Holy)
Submitted by malyvelky on Sunday, 6 February, 2005 - 13:57
Load compiled classes not on the class path whose instances you want to create. This macro is useful for users of BeanShell - it defines a function that loads compiled classes and returns them in a hashtable.

Load classes given by the user into a Hashtable mapping full class name to Class. Either all classes under a given directory are loaded (see loadAllClassesRecurs( packageBaseDirName )) or the user is presented with a browser to select the classes to load (ctrl+click for multiple selection!!!; see loadClassesWithBrowser(view)) and then is asked to say what's the directory part of the path and what's a fully qualified name of one of the selected classes.

  1. Open the macro in a buffer and evaluate the buffer in beanshell to make the functions available
  2. theClassHashtable = loadClassFromFile();
  3. myClass = theClassHashtable.get("mypackage.MyClass");
  4. a) - no-argument constructor:
    myObj = myClass.newInstance();
  5. b) - constructor taking an integer and string:
    myObj = myClass.getConstructor(new Class[]{Integer.TYPE, String.class})
    .newInstance( new Object[]{ 5, "xx" });

Notice: This macro is not intended to be run directly. Instead, you open it in a buffer, evaluate it and use its methods from beanshell.
See the source file for an example of a script to setup instances of classes I want to test, for help with file browser and additional info. Inside I refer to this script under the name Load_Classes2Instantiate while your is probalby named Load_Classes_To_Instantiate

Updated the example script to load & instantiate classes to test.
Splitpane Up (splitpane_up.bsh v1.0 by Claudio Vicari)
Submitted by cvicari on Monday, 31 January, 2005 - 16:49
Moves the main split pane in the active view towards the top, if vertical, or the left, if horizontal.
Splitpane Down (splitpane_down.bsh v1.0 by Claudio Vicari)
Submitted by cvicari on Monday, 31 January, 2005 - 16:47
Moves the main split pane in the active view towards the bottom, if vertical, or to the right, if horizontal. Useful if called via a keyboard shortcut, in order to easily hide/show file portions.
Select RegExp HyperSearch Matches (Select_HyperSearch_Matches_RegExp.bsh v1.0 by Jakub Holy)
Submitted by malyvelky on Thursday, 7 October, 2004 - 07:41
A Beanshell macro script for the jEdit text editor - selects all matches for the last HyperSearch in the current EditPane. Contrary to the original macro that selects the whole line containing (the start of) a match, this one sets the selection exactly from the beginning of the match to its end thus possibly spanning across multiple lines. Thanks to this it's well suitable for regular expression search.
SelectToMatchingTag.bsh (selectToMatchingTag.bsh v0.2 by Saimon Moore)
Submitted by saimonm on Thursday, 20 January, 2005 - 16:07
Selects all text between the current tag and the matching tag. (This requires the XML plugin.)
In fact code is slightly modified from the xml plugin action xml.XmlActions.matchTag.
So this could just be added to the xml plugin itself.
Nuvola 1.0 based Icon Set ( v1.0 by mapo)
Submitted by mapo on Thursday, 13 January, 2005 - 13:01
Nuvola 1.0 ( based Icon Set. See the README for installation instructions.
jEdit EditPanes for SwitchBuffer (JEditEditPanesForSwitchBuffer.jar v0.1 by Lee Turner)
Submitted by lturner on Tuesday, 11 January, 2005 - 11:13
This is a bit of a silly example that provides SwitchBuffer with a list of files in different jEdit EditPanes (ie when the user has their view split). If all splits are displaying the same file then nothing will be displayed in the SwitchBuffer dialog, otherwise selecting a file from the list will give focus to that editpane.
User login
Browse archives
« March 2018  
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
Yes, I'd like to have translations
No, that'd be bad (please comment)
Total votes: 1092
file   ver   dls
German Localization light   51081
Context Free Art (*.cfdg)   0.31   41262
JBuilder scheme   .001   17054
BBEdit scheme   1.0   16659
ColdFusion scheme   1.0   16637
R Edit Mode - extensive version   0.1   14920
Advanced HTML edit mode   1.0   14093
Matlab Edit Mode   1.0   14039
jEdit XP icons   1.0   13464
XP icons for jEdit   1.1   12488