I am using Xp, CB version 1.0 and build: oct 24 2005 23:49 - wx2.6.1 should be the latest version.
Write the following scheme in C::B! (without "" ofcourse. And DON'T TYPE THE | CHARACTER! That character indicates the location of the cursor after typing.). There is a tab in front of if() and the { } are automatically aligned under if, after you have typed them in of course:
" if ()
{
}|"
Now if I press the [ARROW_UP] button, the screen will look like this:
" if ()
| {
}"
You see, the cursor jumps to the beginning of the row - but it should be after the { character.
Now, let's go back to the situation where I haven't pushed the [ARROW_UP] button(You have to recreate the whole scene, because if you set the cursor back by hand, the bug won't work anymore. If I press [ARROW_RIGHT] once and then [ARROW_UP] the cursor will go after the { sign like this:
" if ()
{|
}"
And this is what it should do WITHOUT pressing the [ARROW_RIGHT] button. (The ARROW_RIGHT button is just for making the CB understand that I have moved the cursor and now the cursor IS after the } sign and when I press arrow up, then it has to go after { - without making the CB realise that it actually IS after the } sign, it won't go to the right place if I push arrow up.
if you still don't get it, here's a detailed view of what keys you should press when in a TOTALLY empty file. DOn't make any extra characters(including newlines or tabs):
[TAB]['i']['f'][' ']['('][')'][ENTER/RETURN]['{'][ENTER]['}'] now the thing you should see in the file should look like the first scheme in this post.
Now press the [ARROW_UP] button. The cursor wont' go AFTER the { sign, it will jump to the beginning of the line!
Noww place the arrow back after the } sign and press [ARROW_UP] again. Now it WILL go after the { sign and this is what it should do in the first place!
I hope you understood