fix cmd-. shortcut's call to set-position
(so it no longer sets the range to a strange thing (in some cases))
This commit is contained in:
parent
6b16d0b9de
commit
3980acef04
|
@ -654,7 +654,7 @@ TODO
|
|||
(when (and start span)
|
||||
(let ([finish (+ start span)])
|
||||
(when (eq? source definitions-text) ;; only move set the cursor in the defs window
|
||||
(send source set-position start span))
|
||||
(send source set-position start start))
|
||||
(send source scroll-to-position start #f finish)))
|
||||
|
||||
(on-highlighted-errors loc)
|
||||
|
|
Loading…
Reference in New Issue
Block a user