Author Topic: Opening brace jumps cursor too far  (Read 2171 times)

Offline Leon4

  • Single posting newcomer
  • *
  • Posts: 3
Opening brace jumps cursor too far
« on: August 12, 2010, 06:45:52 pm »
Code::Blocks 10.05 adds a few excellent features for which I'm quite grateful.  I'm especially glad for the Horstmann formatting style (although, I guess that's from the AStyle developers).

The first problem I've had with the new version is that when I open a brace the cursor jumps to the next line instead of tabbing in one.
Example:
Code: [Select]
while ( condition )
{   @I want the cursor here.
    @opening brace jumped cursor here.
}
Is there a solution for this?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: Opening brace jumps cursor too far
« Reply #1 on: August 12, 2010, 06:55:11 pm »
the way it works now, is the way it is intended.
I don't think the behavior can be changed on the fly.

Offline Leon4

  • Single posting newcomer
  • *
  • Posts: 3
Re: Opening brace jumps cursor too far
« Reply #2 on: August 12, 2010, 08:39:17 pm »
OK.  Thanks.  It's too bad because it can take a lot of BACKSPACES to get back up there.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5149
Re: Opening brace jumps cursor too far
« Reply #3 on: August 12, 2010, 10:43:31 pm »
arrow up and then tab ?

Offline Leon4

  • Single posting newcomer
  • *
  • Posts: 3
Re: Opening brace jumps cursor too far
« Reply #4 on: August 13, 2010, 03:39:04 am »
Oh, I might do that or turn off bracket completion.