Sublime Forum

[BUG] Cursor display error after Goto Symbol

#1

Example:

  • Take a Python file
  • Put the cursor inside a method
  • Goto Symbol (ctrl+r) -> The current method declaration is selected
  • Press escape -> The cursor is displayed at the end of the method declaration but the current line mark show the previous position
  • Type anything -> The cursor ‘jump’ to the previous position before inserting text

startup, version: 2101 windows x64 channel: dev

0 Likes

#2

Same problem with the Goto Line:
-Type a line number and press escape show the cursor on the wrong line.

startup, version: 2103 windows x64 channel: dev

0 Likes

#3

These functions are intended to allow you to preview a location in a file. If you press escape, you’ll move back to where you were. If you press enter, you’ll stay at the new symbol or line.

0 Likes

#4

I know how they work since I use them frequently, but since a few build there is bug that don’t move the cursor back when you hit escape.
Actually it is because when you type some characters they are inserted at the right place, but visually the cursor is not at the right place. It’s only a ‘rendering’ bug.

Don’t know if it’s a Windows only bug.

Note where the cursor is and the current line number is:


I press ctrl+r that select the method name and hit escape.
Note where the cursor is and the current line number is, not the same line:


I type ZZZZZZZZZZZZZ, the text is not inserted where the cursor was, but in the right place:

0 Likes

#5

Thanks - will be fixed in the next build

0 Likes