avoid using paren balancing stuff when the colorer is frozen (when user pushes f1)
closes PR 12088
This commit is contained in:
parent
6e6d16b6c9
commit
7a001e3dd2
|
@ -200,7 +200,9 @@ module browser threading seems wrong.
|
|||
;; finds the symbol around the position `pos' (approx)
|
||||
(define (find-symbol text pos)
|
||||
(cond
|
||||
[(is-a? text scheme:text<%>)
|
||||
[(and (is-a? text scheme:text<%>)
|
||||
(not (send text is-stopped?))
|
||||
(not (send text is-frozen?)))
|
||||
(let* ([before (send text get-backward-sexp pos)]
|
||||
[before+ (and before (send text get-forward-sexp before))]
|
||||
[after (send text get-forward-sexp pos)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user