IDE 'go to implementation' creates stupid selection
Posted: Mon Sep 24, 2018 10:11 am
Ubuntu 18, pb570b1 x64
paste code below.
press cntrl+end to go to the end of the file.
press return to insert newline.
press cntrl+home to go to the beginning of the file.
press return to insert newline.
press cntrl+end to go to the end of the file again.
tripple-click the last line of '; 100 lines' to select it, then single-click it again to deselect it.
now cntrl-doubleclick proc(). Editor scrolls up to 'Procedure proc()' but current line is somewhere else and there is some text selection.
You might have to play a bit with the newline/selection/goto steps if you can't reproduce it.
This becomes very annoying in larger files and it seems to coincide with another thing that I can't reproduce where after some time of editing the undo/redo functionality breaks and just starts to scramble your code and the visible code doesn't match the actual buffer content as it seems (i.e. undo behaves like backspace or something like that, creating garbage code that still compiles fine.)
paste code below.
press cntrl+end to go to the end of the file.
press return to insert newline.
press cntrl+home to go to the beginning of the file.
press return to insert newline.
press cntrl+end to go to the end of the file again.
tripple-click the last line of '; 100 lines' to select it, then single-click it again to deselect it.
now cntrl-doubleclick proc(). Editor scrolls up to 'Procedure proc()' but current line is somewhere else and there is some text selection.
Code: Select all
Procedure proc()
x+1
EndProcedure
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
; 100 lines
proc()
This becomes very annoying in larger files and it seems to coincide with another thing that I can't reproduce where after some time of editing the undo/redo functionality breaks and just starts to scramble your code and the visible code doesn't match the actual buffer content as it seems (i.e. undo behaves like backspace or something like that, creating garbage code that still compiles fine.)