Text
Macros that manipulate text
Drag_Up.bsh v1.1 by Tomek Pęszor
Submitted by Monday, 7 July, 2008 - 07:16
on
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 Thursday, 16 March, 2006 - 17:17
on
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 Thursday, 12 June, 2008 - 14:57
on
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
unzip file into your $HOME/.jedit/macros directory
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
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 Monday, 13 September, 2004 - 16:41
on
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 Friday, 28 October, 2005 - 09:42
on
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 Tuesday, 16 December, 2003 - 23:20
on
Converts the selected text from hexidecimal to ascii text.
Updated on 12/16/2003 - 23:23
Downloads: 2413
Insert Blank Lines (Insert_Blank_Lines.bsh v1.0 by Lee Turner)
Submitted by Thursday, 8 January, 2004 - 11:55
on
Beanshell macro to insert blank lines into a buffer.
Updated on 01/08/2004 - 11:55
Downloads: 1610
Insert simple Date (Insert_simple_Date.bsh v1.0 by Robert Schwenn)
Submitted by Sunday, 1 June, 2008 - 20:37
on
Inserts current date in simple format "01.06.2008" at caret position.
Updated on 06/01/2008 - 20:46
Downloads: 1363
IntelliWrap (IntelliWrap.bsh v0.3 by Shoban Jayaraj)
Submitted by Tuesday, 30 March, 2004 - 14:41
on
Given a selected text, tries to wrap the selected text based on prefix strings. Great when adding multi-line comment text that needs to be prefixed with special characters. I wrote it to emulate EMACS 'fill-paragraph' so that comments can be wrapped so as to not exceed a fixed limit.
Can also be used for non-programatical tasks like prefixing replied mail text with '>' etc.
Version 0.3 takes the selection properly into consideration
Version 0.2 incorporates the GPL header to the macro.
Updated on 04/06/2004 - 09:06
Downloads: 2171
Just justify it ! (Justify.bsh v1.0 by Baldurien)
Submitted by Tuesday, 11 October, 2005 - 15:06
on
This macro will allow you to justify a list of word like The Bat (an email client) does. Also, when you are in a doc block (javadoc, phpdoc or jsdoc, etc) the macros will automaticly add the '*'. When nothing is selected, the macros will take text from the line where the caret is, until an empty line (only space, or only space with '*', or '*/' for docblock). Else it will take the text between the start line and end line of the selection. Note : you may have to customise (edit) the macro to get better result.
A quick example [the comment is normally on one line, but it would broke up html presentation]
/** If the selection is set, then we will use it to determine \ the selected text. Else we will use the {@link Textarea.ge\ tCaretLine()} method. */Transformate into :
/** * If the selection is set, then we will use it to determine the * selected text. Else we will use the {@link * Textarea.getCaretLine()} method. */
Updated on 10/13/2005 - 23:11
Downloads: 1878
There are 480 downloads in our database