Welcome, Guest. Please login or register.

Author Topic: Cubic IDE/GoldED tweaking indentation  (Read 1026 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline FailureTopic starter

  • Lifetime Member
  • Sr. Member
  • ****
  • Join Date: Jun 2004
  • Posts: 332
    • http://awhitlock.net/
Cubic IDE/GoldED tweaking indentation
« on: December 21, 2005, 05:25:39 AM »
Ok, I know this is probably a silly thing to be bothered about, but I am interested in changing how Cubic IDE/GoldED handles auto-indenting by default.  It automatically indents the following line when an open brace ( { ) is entered at the end of a line.  I like that.  However, when entering the closing brace the indentation remains as it was rather than going back a tab like I would prefer.  Quick example:

[color=0000ff]
Code: [Select]

int main(void) {
    (...code here...)
    return 0;
    }
[/color]...is what it does.  I would prefer it did:

[color=0000ff]
Code: [Select]

    (....)
    return 0;
}
[/color]Any pointers as to how I might accomplish this?  Currently I am doing CTRL-ALT-leftArrow after typing the closing brace which winds up with the same result.  Am I missing something in the menus?
You can\'t spell evil without "vi"
AMIX Wiki | AmixBP