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:
Robby Findler 2013-08-15 09:36:32 -05:00
parent 6b16d0b9de
commit 3980acef04

View File

@ -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)