jEdit Community - Resources for users of the jEdit Text Editor

Text

Macros that manipulate text


Block fill with text or numbers (Block_fill.bsh v1.1 by Robert Schwenn)
Submitted by Robert Schwenn on Saturday, 26 January, 2008 - 00:01
Differences to the block-fill feature of TextTools Plugin:

1. No choice to overwrite or not the selection. Instead, the selected text is deleted and the new text is inserted with it's full length.
2. Improved performance on large selections because of:
- Removed support for multiple selections
- Removed support for tab handling

Updated on 05/02/2008 - 17:08
Downloads: 1423

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.

Updated on 09/13/2004 - 16:44
Downloads: 2012

Delete Blank Lines (Delete_Blank_Lines.bsh v1.0 by Lee Turner)
Submitted by lturner on Thursday, 8 January, 2004 - 11:54
Beanshell macro to delete all blank lines from a buffer. In this case a blank line a taken as a line with no characters on it (not even whitespace characters).

Updated on 01/08/2004 - 11:54
Downloads: 2972

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.

Updated on 07/07/2008 - 07:13
Downloads: 1327

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.

Updated on 07/07/2008 - 07:16
Downloads: 1321

Duplicate Selection/Line macros (Duplicate_Selection_Line.bsh v1.0 by Sergey Kojin)
Submitted by runmen on Thursday, 16 March, 2006 - 17:17
This is modified version of original Duplicate_Line.bsh that allow duplicate not only lines, but also selection, like in IntelliJ IDEA Ctlr+D (duplicate) feature Checked for jEdit 4.3.pre3

Updated on 03/16/2006 - 17:17
Downloads: 1635

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

Updated on 06/12/2008 - 15:24
Downloads: 1113

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.

Updated on 09/13/2004 - 16:41
Downloads: 1995

Escape Properties (Escape_Properties.bsh v0.2 by Rainiero Rainoldi)
Submitted by rainierito on Friday, 28 October, 2005 - 09:42
This macro converts the selected text into a sequence of escaped chars the same way the method store() of class java.util.Properties would do. It is very useful for writing language properties files from source files originally in other encodings. It escapes also : and \ and all that stuff problematic in a properties file.

Updated on 10/28/2005 - 09:42
Downloads: 1278

Hex2String (Hex2String.bsh v1.0 by Brad Mace)
Submitted by Brad Mace on Tuesday, 16 December, 2003 - 23:20
Converts the selected text from hexidecimal to ascii text.

Updated on 12/16/2003 - 23:23
Downloads: 2413

There are 480 downloads in our database
User login
Browse archives
« November 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   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300