News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Editor bug

Started by hoangmit, September 19, 2005, 05:42:43 PM

Previous topic - Next topic

hoangmit

I usually type the close the bracket right after the open one. However, in codeblocks the cursor jumping weirdly. I cannot type the code as I do in other editors, like, Visual Studio, Dev-CPP, Vim.


In the smart indent mode, at the first of line.
1. Press "{"
2. Press Enter
3. Press "}"
4. Press up arrow key
5. Press Enter

However, in codeblocks, at the step 4, the cursor jumps to in front of the open bracket. Normally, the cursor should be next to the open bracket.

rickg22

This bug has been fixed for the next version which should come out this week.

sethjackson

Next version should be out in a week. 8) Keep up the great work.

hoangmit

Quote from: rickg22 on September 19, 2005, 05:51:03 PM
This bug has been fixed for the next version which should come out this week.
The bug is still there. :(

rickg22

aw? :( Wait a minute, i'm using RC2 and found no problems at all. Mind posting screenshots?

thomas

He is right, it's in HEAD, too.

You have to enable "smart indent" or you don't see it.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

rickg22

Ack, the gif is too confusing! :( Mind explaining further?

tiwag

Quote from: rickg22 on November 03, 2005, 07:44:06 PM
Ack, the gif is too confusing! :( Mind explaining further?
what can't you understand ?

follow the steps as explained in the original posting of this thread http://forums.next.codeblocks.org/index.php/topic,934.msg6467.html#msg6467
and you'll see that he is right!
the cursor should be placed BEHIND the first { after following step 4  :)

rickg22



Der Meister

Well RC2 was released before the last post here.

Try a recent nightly build :)
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.