Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Leon4 on August 12, 2010, 06:45:52 pm

Title: Opening brace jumps cursor too far
Post by: Leon4 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
while ( condition )
{   @I want the cursor here.
    @opening brace jumped cursor here.
}
Is there a solution for this?
Title: Re: Opening brace jumps cursor too far
Post by: killerbot 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.
Title: Re: Opening brace jumps cursor too far
Post by: Leon4 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.
Title: Re: Opening brace jumps cursor too far
Post by: killerbot on August 12, 2010, 10:43:31 pm
arrow up and then tab ?
Title: Re: Opening brace jumps cursor too far
Post by: Leon4 on August 13, 2010, 03:39:04 am
Oh, I might do that or turn off bracket completion.