New CIndent version is available in the
[url=http://www.pspad.com/en/pspad-extensions.php]PSPad extensions
section[/url].
Details:
CIndent v0.11
A C/C++/Java auto-indentation module
Installation:
As usual, unpack into \PSPad\Script\JScript
Requirements:
Needs PSPad build 2247 or later
Settings:
Edit the beginning of the script file. It's clearly marked where to set the
preferred tab size ans shortcuts.
Added features (since 0.1):
_- Now supports ANSI in addition to K&R style_
- Sections between "/**" and "**/" for comments and "/**/" for code are not
indented
- Changed indenter behavior:
TAB: Indent current line
Ctrl-Alt-\ with text selected: Indent selected text
Ctle-Alt-\ with nothing selected: Indent entire file
Bugfixes (thanks to the new PSPad scripting functionality):
- Indentation of selected text is now stable
- Now also indents first line
Notes:
- The script wasn't thoroughly tested! (though it did manage to reindent
itself). In any case I'm not responsible for any mishap's...blah blah blah...
- Please report bugs
- Enjoy
--
<http://forum.pspad.com/read.php?2,35782,36071>
PSPad freeware editor http://www.pspad.com