jEdit Community - Resources for users of the jEdit Text Editor
Mathematica Edit Mode (mathematica.xml v1.1 by Daniel Herring)
Submitted by nuntius on Tuesday, 26 October, 2004 - 21:57
A couple small improvements over the old version.
- Fixed handling of primes
- Proper highlighting of namespaces
A macro to remove or retain all lines that can find match with supplied regular expression (Retain_Or_Remove_Lines.bsh v1.0 by Jia Zhiming)
Submitted by jiazhimi on Tuesday, 26 October, 2004 - 03:03
Just supply a regular expression, then choose whether to retain or remove the lines that can find match with the regular expression. It will remove all lines that can not find match, or all lines can find a match. Hope you find it useful.
Gcc Commando File (gcc.xml v1 by becki)
Submitted by becki on Monday, 25 October, 2004 - 09:53
Tries to compile the current buffer with gcc. Tested with Linux, should also work with Cygwin.
getter/setter macro for Java/C++ (gettersetter.bsh v0.91 by John Gellene, Francis Dobi)
Submitted by francisdobi on Monday, 7 June, 2004 - 08:52
This is the modified version of the Make_Get_and_Set_Methods.bsh included with jEdit 4.1. It can handle assignment in declaration. (The one provided with some jEdit versions can't handle this) Can generate javadoc works with static and boolean fields. See usage notes in macro. 0.91: Fixed static field recognition.
Proper Case (proper_case.bsh v1.0 by Jonathan Broome)
Submitted by jpbroome on Thursday, 14 October, 2004 - 14:54
A beanshell macro to convert selected text to Proper Case, in which the first letter of each word in the selection is Capitalized.
LaTeX math symbols for XInsert (LaTeX_math_symbols.insert.xml v0.1 by rikal)
Submitted by rikal on Friday, 8 October, 2004 - 12:52
This is a list of LaTeX math symbols for the XInsert plugin. You need to specify a Unicode font for the GUI (it should work with the standard Dialog font provided with Java, Lucida Sans). If you use Java 1.5, you can enable autoaliasing by using the -Dswing.aatext=true option in your jEdit startup script. For the present it only covers standard LaTeX math symbols, but AMS symbols, IPA characters and dingbats will come soon.
Ruby auto indent and insert end v0.6 (Ruby_auto_indent_and_insert_end.bsh v0.6 by Robert McKinnon)
Submitted by robmckinnon on Sunday, 22 August, 2004 - 16:12

Designed to be executed each time the enter key is pressed. Auto indents and inserts 'end' after the following: if, for, while, until, unless, def, case, class, module, begin, loop do, x do |y|. Also aligns else and elsif. Designed to work with the auto-indenting defined in Ruby edit mode v0.3.

Use in combination with the Ruby edit mode v0.3 to solve most of your Ruby indenting needs!

TO INSTALL:

  1. Place in directory: [user_home_dir]/.jedit/macros/Ruby
  2. Add the 'ENTER' key shortcut to this macro via:
    • Utilities -> Global Options -> Shortcuts -> Edit Shortcuts: Macros
  3. Install Ruby edit mode v0.3.
XHTML XInsert Script (xhtml.insert.xml v0.3 by Daniel E. Markle)
Submitted by Lexiyntax on Wednesday, 15 September, 2004 - 16:08
This script for the XInsert plugin makes it quick and easy to build compliant xhtml 1.0 and html 4.0 strict files. All html tags are in lowercase as required by the xhtml spec, and it tries to provide convenient prompting for required elements in tags. To use it, just copy it to your XInsert script location (~/.jedit/xinsert/ on Linux or OS X) and click reload in XInsert.
JDocs Search (JDocs_Search.bsh v1.0 by Lee Turner)
Submitted by lturner on Wednesday, 15 September, 2004 - 14:03
Beanshell macro to search JDocs (http://www.jdocs.com). It utilises the InfoViewer Plugin to display the jdocs page and can work a selection in the jEdit textarea or prompt you for a search item if no selection is made.
Rename Current Buffer (Rename_Current.bsh v0.1 by David Mlejnek)
Submitted by davo on Monday, 13 September, 2004 - 16:49
Renames the current buffer.
Decrypt current buffer (Decrypt_Current.bsh v0.1 by David Mlejnek)
Submitted by davo on Monday, 13 September, 2004 - 16:44
Decrypts the current buffer content. The physical file content will not be modified until user saves the buffer. Buffer must be encrypted with Encrypt_Current.bsh. Uses PBE with MD5 and DES algorithm. Macro will prompt the user for a password which will be used to decrypt the buffer content.
Encrypt current buffer (Encrypt_Current.bsh v0.1 by David Mlejnek)
Submitted by davo on Monday, 13 September, 2004 - 16:41
Encrypts the current buffer content. The physical file content will not be modified until user saves the buffer. Uses PBE with MD5 and DES algorithm. Macro will prompt the user for a password which will be used to encrypt the buffer content.
nVidia "C for Graphics" edit mode. (Cg.xml v0.2 by Klaus Post)
Submitted by sh0dan on Monday, 9 August, 2004 - 13:58
nVidia C for graphics (Cg) is the basic programming language of the NVIDIA Cg Toolkit. This is a C-like language used for programming graphic cards.
This is based on the "cplusplus" template, but with only valid Cg keywords and all basic built-in functions and data types present.

v0.2 Contains a few more keywords.
LazyImporter (LazyImporter-1.07.zip v1.07 by Markus Birth)
Submitted by mbirth on Tuesday, 31 August, 2004 - 12:15
Fixed a bug with double-slashes in strings causing LazyImporter to hang at "Creating JavaClass..." because it thought it was a comment from there and didn't recognize the closing quot.mark of the string. Changed files are JavaCommentStripper.java and JavaUtilities.java.
LazyImporter ()
Submitted by mbirth on Tuesday, 31 August, 2004 - 10:39
Fixed a bug with double-slashes in strings causing LazyImporter to hang at "Creating JavaClass..." because it thought it was a comment from there and didn't recognize the closing quot.mark of the string. Changed files are JavaCommentStripper.java and JavaUtilities.java.
XInsert (XInsert-1.91.zip v1.91 by Markus Birth)
Submitted by mbirth on Tuesday, 31 August, 2004 - 09:52
Added new feature to XInsert: Show hints (tooltips) for tags, works fine with 4.2final. Example wikipedia.insert.xml included. Changed files from 1.9 source are: xinsert.dtd, XInsertHandler.java, XTree.java, XTreeItem.java.
Find Next Selected (Find_Next_Selected.bsh v1.01 by Dan Ferreira)
Submitted by DanF on Tuesday, 24 August, 2004 - 18:19
Got this idea from UltraEdit32, where I'd often skip the Find dialog by just selecting text and searching for its next occurrence. I never found another editor that provided this simple functionality, and now jEdit can do it with this macro!

If there's no selection, it looks for the next occurrence of your last search (issues a "find-next" action). It's meant to be an improved "find-next", so you can remap your "find-next" shortcut to this macro if you want to.


New in version 1.01:

- Special behavior when regular expressions enabled: if the current selection matches your regexp search string, then it issues a "find-next" action (so it won't disrupt ongoing regexp searches); otherwise, the selected text becomes the new regexp search string; if the new regexp search string is invalid, a regular search is performed (sounds more complicated than it actually is, the point is that now it handles regular expressions nicely :-) )
BufferLocal 1.2 update (BufferLocalPlugin.jar v1.2 by Dale Anson)
Submitted by daleanson on Monday, 9 August, 2004 - 16:25
Updated BufferLocal plugin. Fix for concurrent modification bug. Originally, BufferLocal was called "BufferMinder" and closed buffers that were open for a while but not used. These are known as "stale" buffers. Closing stale buffers helps reduce clutter without any work. This feature never made it into the initial release, but others have requested it, so it's back now. It is off by default, use the Plugin Options to turn it on and to adjust how long a file should be unused before it is closed. Files that need saved will not be closed, you'll need to save first. To turn on automatic buffer closing, click 'Plugins' then 'Plugin Options'. Select 'BufferLocal' from the tree on the left side. Check the box that says 'Close files not used'. Set the time limit with the spinner. When the 'Close files not used' box is unchecked, BufferLocal will still keep track of stale buffers. You can close stale buffers at any time by clicking 'Plugins', then 'BufferLocal', then 'Close Stale Buffers'.
Ruby edit mode with enhanced auto-indenting and class/instance variable highlighting (ruby.xml v0.3? by Ian McLean, Chris Morris, Christophe Grandsire & Robert McKinnon)
Submitted by robmckinnon on Sunday, 22 August, 2004 - 15:47

Another update of the Ruby mode file, which enhances v0.2 auto-indenting by adding indenting for the following: while, for, until, loop do, module, begin, unless. It also adds highlighting of class and instance variables, which was missing from the original mode file.

Use in combination with the Ruby auto indent and insert end macro to solve most of your Ruby indenting needs!

Javadoc Comment Stubs (Javadoc-1.0.zip v1.0 by Craig Slusher)
Submitted by sleek on Monday, 16 August, 2004 - 04:04
This is a set of macros which you can use to generate Javadoc-style comments very easily. Just bind the 3 macros to some convenient keys, and you're all set!
User login
Browse archives
« April 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
 
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   82349
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