Here's the deal, auto-indent doesn't work for me bacause of the way I type: I, by habbit, close everything before typing the meat. e.g.:
Most people do this, where a | is used for the cursor:
Here's the problem (any language): with auto-indent on, the ending brackets are not un-indented. With auto-indent off, auto-indent is off, and I might as well be using notepad. Also, the way I code is (for me) both 1) extremely fast, and 2) a decade long habit. Please don't tell me to learn to type differently . I like the rest of UltraEdit, but this one little thing makes it difficult to use for me.
Is there a work-around I can use? If not, I'm going to try my luck at requesting it as a feature; it's a fairly simple thing, the program just checks whether or not to unindent every time you type a closing delimeter, and could be changed to check when you start a new line as well. All of the other editors I use handle this correctly (Eclipse, Visual C++, etc.), but I like using UltraEdit as a non-specific editor (it's not part of an IDE, is what I mean). Please help if you know a work around!
Most people do this, where a | is used for the cursor:
Code: Select all
1)
if ( |
2)
if ( whatever ) {
yep; |
3 )
if ( whatever ) {
yep;
} |
But I do this:
1)
if () {} |
2)
if ( whatever | ) {}
3)
if ( whatever ) {
yep; |
} // Notice the position here.
Is there a work-around I can use? If not, I'm going to try my luck at requesting it as a feature; it's a fairly simple thing, the program just checks whether or not to unindent every time you type a closing delimeter, and could be changed to check when you start a new line as well. All of the other editors I use handle this correctly (Eclipse, Visual C++, etc.), but I like using UltraEdit as a non-specific editor (it's not part of an IDE, is what I mean). Please help if you know a work around!