Page 1 of 1

Automatic Indetation Control

Posted: Fri Oct 03, 2003 10:36 pm
by Lawrence Dol
I would like to suggest that the rules for automatic indentation be externally defined. We use a style of brace indentation that does not including dropping the trailing brace back one level.

TextPad supports only:

Code: Select all

    public static void myFunction() {
        ...
    }
and I would like to have:

Code: Select all

    public static void myFunction() {
        ...
        }
Another common style that is precluded is:

Code: Select all

    public static void myFunction() 
        {
        ...
        }
At the very least a separate checkbox each for whether to indent the opening '{' and the closing '}' would be nice.

Posted: Sat Oct 04, 2003 12:38 am
by s_reynisson
This is sometimes implemented with "Expand/Collapse blocks of text"
or "Folding", feel free to vote for it here.

Indentation

Posted: Wed Oct 08, 2003 2:02 pm
by Jason Shallcross
I love the collapsing block idea...

And Lawrence I totally agree with you, it would be really nice to be able to use automated indentation, I use the least popular form, eg:

Code: Select all

public static void myFunction() 
        { 
        ... 
        } 

Re: Indentation

Posted: Wed Oct 08, 2003 3:27 pm
by jeffy
Jason Shallcross wrote:I use the least popular form
What's wrong with you!? :lol:

Just kidding. :' )