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

Set of my jEdit Macros (taat_jedit_macros.zip v1.0 by Tomek Pęszor)
Submitted by takeshin on Saturday, 16 February, 2008 - 23:22
A set of my jEdit macros. See description at: http://taat.pl/jedit/ Note: This is zipped file. Extract it before placing in settings directory. All macros as a separate files can be downloaded from http://taat.pl/en/jedit/
Drag_Up.bsh v1.1 by Tomek Pęszor
Submitted by takeshin on Monday, 7 July, 2008 - 07:16
Moves current line or selected lines one line up. It is not needed to select lines from the beginning to the end. Just hold shift+up/down arrow to indicate which lines to move, and then, use a keyboard shortcut you have chosen for this macro. Keeps selection. Suggested shortcut: CS+up arrow. Use in conjunction with Drag_Down.bsh macro.
Drag_Down.bsh v1.1 by Tomek Peszor
Submitted by takeshin on Monday, 7 July, 2008 - 07:13
Moves current line or selected lines one line down. It is not needed to select lines from the beginning to the end. Just hold shift+up/down arrow to indicate which lines to move, and then, use a keyboard shortcut you have chosen for this macro. Keeps selection. Suggested shortcut: CS+down arrow. Use in conjunction with Drag_Up.bsh macro.
Open_This.bsh v1.1 by Tomek Peszor
Submitted by takeshin on Monday, 7 July, 2008 - 06:11
Opens selected path in new buffer. Select path to any file in current textarea and run this macro to open this file in new buffer. If nothing is selected, looks for file path inside quotes surrounding caret. Opens remote URLs as well. Based on Open_Selection.bsh macro, but no selection is needed. Most useful for included files, linked HTML pages, linked scripts or CSS files.
Remove_blank_lines.bsh v1.0 by Tomek Pęszor
Submitted by takeshin on Friday, 4 July, 2008 - 11:08
This simple macro removes blank lines from the current buffer or selection (lines with spaces or tabs also, not only \n\n). It just uses simple RegEx: ([\t\s]+)?\n+\n?
Select_Word_or_Enclosed.bsh v1.0 by Tomek Peszor
Submitted by takeshin on Wednesday, 2 July, 2008 - 12:16
This macro is ment for fast selecting text with one keyboard shortcut. It selects word when no selection is set. When selection is set (second run), it looks outside selection for pairs of characters like parenthesis ()[]{}<> or quotations "" '' or line separator and selects text beetween. Just assign shortcut to this macro (I use CTRL+ALT+UP ARROW) and you are able to select word no matter if caret is on the begginig, inside or at the end of word. Then hit this keyboard shortcut again to select text between characters described above. Hit once more to extend selection to select enclosing characters too, and once more to expand selection to next pairs. This macro is useful for selecting words, syntax keywords, strings, function values, HTML attribute values and many more. See it in action on the screencast.
Enclose pairs (Encloses.zip v0.1 by Alexandre da Silva)
Submitted by simpsomboy on Thursday, 12 June, 2008 - 14:57
Warning! this is a zip file. if you download from Macro Manager Plugin, go to your macro directory, rename the downloaded file (Enclose_pair.bsh) to Enclose_pair.zip and extract it, and delete the Encloe_pair.zip file
Set of simple macros to enclose char pairs such as: [] {} '' "" `` %% <> ()

Features
  • Insert the pair when typing
  • Enclose the selection with pair just by typing it
Each one need to be configured with a shortcut corresponding with pair
unzip file into your $HOME/.jedit/macros directory
Railscasts scheme (Railscasts.jedit-scheme v1.0 by Alexandre da Silva)
Submitted by simpsomboy on Thursday, 12 June, 2008 - 14:16
Imitation of Popular Textmate theme used by Ryan Bates in Railscasts
Screenshot
Koders Search (Koders_Search.bsh v3.1 by Thorsten Willert)
Submitted by Thorsten Willert on Wednesday, 11 June, 2008 - 14:59
Searches on www.koders.com (a free on-line search engine for open source software and other web-downloadable code) for a term you can type in into the macros-gui or it searches for the word under the cursor and opens the result in a browser window.

On Windows is this the default one, on any others system the InfoViewer.
Insert simple Date (Insert_simple_Date.bsh v1.0 by Robert Schwenn)
Submitted by Robert Schwenn on Sunday, 1 June, 2008 - 20:37
Inserts current date in simple format "01.06.2008" at caret position.
LineFilter (LineFilter.bsh v1.3 by Robert Schwenn)
Submitted by Robert Schwenn on Tuesday, 29 January, 2008 - 21:07
The macro filters lines of a buffer due to a provided regular expression.

The filter actions are: remove in current buffer or write to a new buffer.
The filter is applied on: matching or not matching lines
The filter works on: the whole buffer or the selection (if it spans over mor than one line)

Based on the following macros: Retain_Or_Remove_Lines. by Jia Zhiming, Grep_Buffer.bsh and Reverse_Grep_Buffer.bsh by Robert Fletcher

Sort_Lines.bsh v1.0 by Pascal Dal Farra
Submitted by pdfneuro on Monday, 13 December, 2004 - 09:11
Sort_Lines.bsh a BeanShell macro for the jEdit text editor which is able to sort lines in ascending/descending order. Available options are
  • Remove duplicated lines
  • Ignore case sorting
ReadOnly_Buffer.bsh v1.0 by codi
Submitted by codi on Saturday, 5 June, 2004 - 22:22
This macro will set current buffer to read-only mode without changing file flag on hard disc so another user can access that file in read-write mode. Another call will unset buffer read-only flag. requires JDK 1.4, jEdit4.2 This is 1.0 version, tested on Win2K, Jedit 4.2pre14 and jdk1.4.2_02.
Macro to sort lines like in Ultraedit updated (Sort_Lines.bsh v1.1 by Pascal Dal Farra)
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 17:12
Hi, Here is an update of the sorting macros This macro is able to sort lines in ascending/descending order. Available options are
  • Remove duplicated lines
  • Ignore case sorting
Enjoy Smiling
Upper/Lower/Invert/Capitalize Case Macros WHITHOUT unselecting text (CaseMacros.zip v1.0 by Pascal Dal Farra)
Submitted by pdfneuro on Wednesday, 15 December, 2004 - 17:25
4 separated macro that allows to change word case of selected text WHITHOUT unselecting text:
  • - Upper Case
  • - Lower Case
  • - Invert Case
  • - Capitalize Case
Enjoy :-)
iEdit Launcher-like program (doesn't need .NET) (windows_runjedit.zip v1.0 by Kuba)
Submitted by malyvelky on Saturday, 5 February, 2005 - 15:00
Do you miss jEditLauncher? Use RunjEdit!

PURPOSE
--------
This tiny program runs jEdit and gives it over any command-line parameter such as filenames. You can use it to open files in jEdit. For example you can associate some file extension such as .java with it or you can create a link to it from your directory C:\Documents and Settings\\SendTo so that you can open any file in it via the context menu "Send To".

It runs jEdit with the option -reuseview thus opening a file in an existing instance of jEdit unless jEdit is not yet running.

REQUIREMENTS
-------------
1. The program must be in the same directory as jedit.jar because it looks there for it (unpack the zip and move runjedit.exe to wherever your jEdit is.
2. You Java executable must be named javaw.exe and it must be on the system %PATH%

(To modify the PATH variable right-click on "My Computer" on the desktop and select "Properties". In the System Properties window click on the "Advanced" tab. In the Advanced section click the "Environment Variables" button. If you're an Admin edit the variable PATH otherwise add a new user variable called PATH with the value (modified for your computer):
C:\my\path\to\dir\with\javaw.exe;%PATH%
and log out and back in again.)

3. Runjedit have only been tested under Windows 2000/XP but hopefully it runs elsewhere too.

DEVELOPMENT
------------
Runjedit was developed with Dev-C++ but except for the icon it's an ordinary C++ program not bound to Dev-C++.

BUGS
-----
If you find any bugs let me know to maly.velky@email.cz

PS: I've realized that somebody else has published something similar a few days ago and it might be better but since it requires .NET I do release this for those who haven't it.
Cherrypy mode (cherrypy.xml v0.4 by MV)
Submitted by mv on Saturday, 3 April, 2004 - 16:12
Fully compatible with Cherrypy syntax. See www.cherrypy.org
BBCode edit mode (bbcode.xml v1.0 by matejkaf)
Submitted by matejkaf on Thursday, 29 May, 2008 - 11:34
Edit mode for BBCode (Bulletin Board Code). Please add the following line to modes/catalog file: <MODE NAME="bbcode" FILE="bbcode.xml" FILE_NAME_GLOB="*.bbcode" /> The file extension "bbcode" is something I just choose, don't know whether it is in use.
F# Edit mode (fsharp.xml v0.0.1 by Nicolas Vallée)
Submitted by gorgonite on Monday, 12 May, 2008 - 21:12
It's just a simple fork of another edit mode made for OCaml :
http://community.jedit.org/?q=node/view/1269

I made some changes :
  • I put in another color the keyworks of OCaml, which shouldn't be used in F#
  • I added a support for the commands like #light, #use, etc
  • I changed some functions/modules colorations which aren't in F# core library
My work isn't good enough, but I wish people would improve it :)
Remove Trailing WhiteSpaces (remove-trailing-ws.bsh v1.0 by Robert Schwenn)
Submitted by Robert Schwenn on Friday, 2 May, 2008 - 21:34
This macro removes trailing WhiteSpaces of selected lines (as the action with same name does). In contrast, if no selection is present, all lines are processed.
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