jEdit Community - Resources for users of the jEdit Text Editor
PHP Lint Macro (PHP_Lint.bsh v1 by Unknown)
Submitted by sam on Thursday, 1 April, 2004 - 21:59
Requires Console plugin. A BeanShell to syntax check your PHP buffer.
Advanced HTML Edit Mode (html.xml v2 by Brad Mace [revised by Sam])
Submitted by sam on Thursday, 1 April, 2004 - 16:42
The Advanced HTML Edit Mode v1 by Brad Mace contained various typos and syntactical errors. This is a fixed version with a few extra tweaks. Next thing to do is set it up so that highlighting for any quoted string in a tag is delegated to JavaScript... This mode delegates to PHP where appropriate.
MacOSPlugin fix for Apple Java 1.4.2 (MacOS.jar vRevised to by Sam)
Submitted by sam on Thursday, 1 April, 2004 - 16:27
In our office, upgrading to Apple's Java 1.4.2 package broke the MacOSPlugin complaining that MRJ is not current enough. This hack of the MacOSPlugin fixes that issue for jEdit 4.1 Final
Insert_File.bsh v1.0 by Ollie Rutherfurd
Submitted by orutherfurd on Wednesday, 31 March, 2004 - 18:44
Prompts user to select a file then replaces the current selection with the contents of the selected file.
BibTeX mode bug fixes (bibtex.xml v1.1 by Thomas Alspaugh)
Submitted by alspaugh on Wednesday, 31 March, 2004 - 00:33
This version fixes some problems pointed out by a user: notably, it now handles text in {} as well as "", and nested ""s and {}s. See web page for details.
Go to Ruby method v0.5 (Go_to_Ruby_method.bsh v0.5 by Rob McKinnon)
Submitted by robmckinnon on Monday, 23 February, 2004 - 05:35

Brings up a popup menu of Ruby methods that are in the current buffer grouped by class and ordered alphabeticaly. Selecting a class or method from the menu places the caret at that member's location in the file.

New in v0.5:

  • Submenus show if there are multiple classes in file.
  • Show wait cursor while popup is being generated.
  • Fixed bug that occurred when "class" or "def" are preceded by non-white text.
LaTeX mode (latex.xml v1.1 by Thomas Alspaugh)
Submitted by alspaugh on Wednesday, 24 March, 2004 - 12:21
Highlights all environments, commands, and counters from Lamport's LaTeX2e and some of amstex and other popular packages. The five principal modes (normal, math, tabbing, tabular, and picture) are distinguished, mode transitions handled, and each mode's commands highlighted separately. Approximately 970 items are covered.
LazyFolds plugin (LazyFolds.jar v0.3 by Robert Fletcher)
Submitted by rfletch6 on Tuesday, 16 December, 2003 - 10:24
A plugin that can automatically add explicit folds around certain constructs in a jEdit buffer. Rules for finding where to place folds and defining what text to include with the fold marker are defined in an XML file for each edit mode. The user can add XML rules files to their ~/.jedit/lazyfolds/ directory. The plugin has default rules for Java and JavaScript which can be used as a guide for how to build new rules files. Now supports Java 1.5 syntax
Toggle Split (Toggle_Split.bsh v0.5 by Claudio Vicari)
Submitted by cvicari on Monday, 15 March, 2004 - 16:30
Switches the main split pane between two open views, splits the pane if it's not already splitted
Select Between Quotes (Select_Between_Quotes.bsh v1.0 by Lee Turner)
Submitted by lturner on Thursday, 11 March, 2004 - 15:19
Beanshell macro to simply select all the text between two quotes (").
RDoc (Ruby documentation) edit mode v0.2 (rdoc.xml v0.2 by Rob McKinnon)
Submitted by robmckinnon on Saturday, 6 March, 2004 - 20:54
Edit mode for files using RDoc markup. Useful if you are writing RDoc content for RubLog, a Ruby weblog application. Perhaps these edit rules can be incorporated into the Ruby edit mode file eventually.
VHD syntax highlighting mode fix (vhdl.xml v1.1 ?? by Pieter Kapsenberg & previous authors)
Submitted by pieter3d on Thursday, 4 March, 2004 - 05:33
In VHDL, a single apostrophe ' is used in the following case: <signal name>'event where <signal name> can be any predifined signal (its like a variable). The bug is of course that the VHD highlighter thinks this is a single quote opeing a string, thus highlighting the rest of the line.

An easy rule would be to just check for the word "event" after a single quote. Here is the required update for vhd.xml - the following should replace the single quote span:
<SPAN_REGEXP HASH_CHAR="'" NO_LINE_BREAK="TRUE" TYPE="LITERAL1">
<BEGIN>(?!'event)</BEGIN>
<END>'</END>
</SPAN_REGEXP>

Screenshot of current error

Pieter Kapsenberg

Display Shortcuts (Display_Shortcuts.bsh v3.2.2 by John Gellene)
Submitted by Brad Mace on Thursday, 26 February, 2004 - 20:28
Displays the abbreviations registered for each of jEdit's editing modes. The macro provides a read-only view of the abbreviations contained in the Abbreviations option pane. Pressing a letter key will scroll the table to the first entry beginning with that letter. A further option is provided to write a selected mode's abbreviations or all abbreviations in a text buffer for printing as a reference. Notes in the source code listing point out some display options that are configured by modifying global variables.
Toggle Word Wrap (Toggle Word Wrap.bsh v1.0 by Lee Turner)
Submitted by lturner on Thursday, 26 February, 2004 - 09:44
Beanshell macro to toggle word wrap for the current buffer in the order of none, hard, soft.
XInsert fixed for 4.2 (XInsert.tgz vI have no by Nathan Tenney)
Submitted by euler on Wednesday, 25 February, 2004 - 01:40
I made a one line fix to XInsert to get it to load in jEdit 4.2pre9.
ToggleHeaderSource.bsh v1 by Vladimir Avdonin
Submitted by vldmr on Tuesday, 24 February, 2004 - 03:09
Toggles current buffer between header and source. Both files should have same file name. Header extensions are .h*, sources are .c*
Both files has to be currently open for magic to work. Otherwise nothing will happen.
Serving suggestion: A+BACK_QUOTE Enjoy
LaTeXTools Urgent Bug Fix. (LaTeXTools.jar v0.5.1 by Anthony Roy)
Submitted by antroy on Monday, 23 February, 2004 - 13:55
Version 0.5 of the plugin replaced the General Options pane in jEdit's Global Options with its own General Options. This release fixes that bug.
switchLineSeparatorForAllBuffers.bsh v0.2 by Saimon Moore
Submitted by saimonm on Thursday, 19 February, 2004 - 19:35
Displays a dialog which allows you to switch the line separators of either: - All open buffers in current view - All files (recursive) in a specified directory - All files in a ProjectViewer project which you select Update: Added filter and now the macro will only close files which are not already open. Please feel free to update and improve on this...
listMarkers.bsh v0.1 by Saimon Moore
Submitted by saimonm on Thursday, 19 February, 2004 - 19:38
Displays a dialog similar to the hypersearch dialog which list all the markers set in the current buffer. Clicking on the entry takes you to the marker in the buffer. Please feel free to improve on the presentation ;)
TADS mode (tads.xml v0.1 by Saimon Moore)
Submitted by saimonm on Thursday, 19 February, 2004 - 19:31
A syntax highlighting mode for the TADS (Text Adventure Design System) interactive fiction authoring system (See this for more details).
User login
Browse archives
« May 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   83281
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293