Author Topic: Strange cursor problem  (Read 5649 times)

Offline dgrafix

  • Single posting newcomer
  • *
  • Posts: 9
Strange cursor problem
« on: May 28, 2008, 11:40:01 pm »
Hi i getting an odd problem where occasionally the visible cursor is 1 space right of the edit point.
Im using linux, CB 8.04. This problem only seems to happen in CB, so its not the keyboard etc.

anyone else had or know of a fix for this, its really annoying.

Offline libfab

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: Strange cursor problem
« Reply #1 on: July 05, 2008, 01:37:58 pm »
I confirm this issue, which has been reproduced consistently with all SVN versions of CB over the past few weeks, including the latest svn5109.

The bug strikes me as probably more scintilla-related than strictly CB code-related; but this is a wild guess.

As I've been developing extensively on CB/Linux (Ubuntu 8.04) with CB, I also confirm that the bug is a very annoying one.

So more details:

Cursor shift always happens rightward, and may be up to 3 character positions ahead of 'actual' writing cursor. Normal position is retrieved by pressing 1 to 3 times (depending) on the "DEL" key, which seemingly eats up "dummy junk" characters that are not displayed on screen. I've pinpointed no particular context that sets the bug showing up: it's seemingly haphazard.

Best, Fab

Offline libfab

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: Strange cursor problem
« Reply #2 on: July 14, 2008, 06:52:59 pm »
As mentioned in my 14 July post here:

http://forums.codeblocks.org/index.php/topic,8291.new.html

this issue may be related to the French keyboard layout bug (to be confirmed).