Edit Mode Multiple Indent Bracket Properties
Submitted by Wednesday, 4 January, 2006 - 06:45
on
If jEdit supported regular expression variable-length indentation 'brackets', then xml indenting could be supported natively, like so:
<PROPERTY NAME="lineOpeningBrackets" VALUE="<[[:alphanum:]]+>" />
<PROPERTY NAME="lineClosingBrackets" VALUE="<[[:alphanum:]]+>" />
Multiple brackets could be attained via the (bracket1|bracket2|...) clause in regular expressions.
Not only xml/html indenting, but all those edit modes with limited or no indentation support could finally support indentation correctly.
<PROPERTY NAME="lineOpeningBrackets" VALUE="<[[:alphanum:]]+>" />
<PROPERTY NAME="lineClosingBrackets" VALUE="<[[:alphanum:]]+>" />
Multiple brackets could be attained via the (bracket1|bracket2|...) clause in regular expressions.
Not only xml/html indenting, but all those edit modes with limited or no indentation support could finally support indentation correctly.