Author Topic: Editor bug  (Read 7876 times)

hoangmit

  • Guest
Editor bug
« on: September 19, 2005, 05:42:43 pm »
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.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Editor bug
« Reply #1 on: September 19, 2005, 05:51:03 pm »
This bug has been fixed for the next version which should come out this week.

sethjackson

  • Guest
Re: Editor bug
« Reply #2 on: September 19, 2005, 07:13:36 pm »
Next version should be out in a week. 8) Keep up the great work.

hoangmit

  • Guest
Re: Editor bug
« Reply #3 on: November 03, 2005, 06:24:58 pm »
This bug has been fixed for the next version which should come out this week.
The bug is still there. :(

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Editor bug
« Reply #4 on: November 03, 2005, 06:26:33 pm »
aw? :( Wait a minute, i'm using RC2 and found no problems at all. Mind posting screenshots?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Editor bug
« Reply #5 on: November 03, 2005, 06:28:59 pm »
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."

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Editor bug
« Reply #6 on: November 03, 2005, 06:45:29 pm »
Here:

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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Editor bug
« Reply #7 on: November 03, 2005, 07:44:06 pm »
Ack, the gif is too confusing! :( Mind explaining further?

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Editor bug
« Reply #8 on: November 03, 2005, 08:16:05 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.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  :)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Editor bug
« Reply #9 on: November 03, 2005, 08:23:31 pm »
Oh, ok.

hoangmit

  • Guest
Re: Editor bug
« Reply #10 on: September 16, 2006, 01:53:32 pm »

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Editor bug
« Reply #11 on: September 16, 2006, 02:04:11 pm »
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.