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