jEdit Community - Resources for users of the jEdit Text Editor
Filestore Error
Temporary upload path:
DOES NOT EXIST - fix in Site Configuration

Taskbar macro (html_taskbar.bsh v1 by Jerome)
Submitted by jerome on Tuesday, 6 April, 2004 - 07:57
This macro illustrates the creation of a simple taskbar. In this example, the taskbar allows easy editing of HTML documents by inserting some tags, but it will be easily customized.
Smart Cut/Copy/Paste Macros (SmartCopyCutPasteLine1.0.zip v1.0 by Robin Luiten)
Submitted by rluiten on Tuesday, 6 April, 2004 - 04:59
Smart Copy/Cut/Paste Text macro for JEdit (v1.0 rerelease 2004/04/06)

A set of three simple bean shell macros that are designed to replace the built in copy/cut/paste functions in JEdit. They basically allow for treating the current line as selected if there is no selection. Detailed behaviour in a html file in the zip. I map ctrl-c/ctrl-x/ctrl-v and the toolbar buttons to these.

The three macros are in a zip file so that all 3 travel together as they are only useful as a set.

Tested on JEdit 4.1pre2 4.1pre7
There is no change to code from previous release on JEdit community site
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...
User login
Browse archives
« November 2025  
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
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   111599
Context Free Art (*.cfdg)   0.31   46075
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17493
Advanced HTML edit mode   1.0   16227
Matlab Edit Mode   1.0   16091
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312