User forums > Using Code::Blocks

Opening brace jumps cursor too far

(1/1)

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

--- End code ---
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:
arrow up and then tab ?

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

Navigation

[0] Message Index

Go to full version