News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Opening brace jumps cursor too far

Started by Leon4, August 12, 2010, 06:45:52 PM

Previous topic - Next topic

Leon4

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:while ( condition )
{   @I want the cursor here.
    @opening brace jumped cursor here.
}

Is there a solution for this?

killerbot

the way it works now, is the way it is intended.
I don't think the behavior can be changed on the fly.

Leon4

OK.  Thanks.  It's too bad because it can take a lot of BACKSPACES to get back up there.

killerbot


Leon4

Oh, I might do that or turn off bracket completion.