Smarter Auto-Indentation

The next release of RSyntaxTextArea will feature smarter auto-indentation for languages that use curly braces to denote code blocks, such as C, Java and Perl.  Instead of just remembering the previous line’s indentation, now, lines in a new code block are indented, and typing the closing ‘}’ character of a code block out-dents that character.  This is a rather small feature but most editors these days offer it, and once you get it used to it, it’s hard to go back to an editor that doesn’t have it!

Check out revision 70 in Subversion if you want to check it out early.

Comments are closed.