fixed a bug in word completion
svn: r9921
This commit is contained in:
parent
64d8b39b49
commit
40fc919765
|
@ -441,10 +441,10 @@
|
||||||
[(or (is-stopped?) (is-frozen?))
|
[(or (is-stopped?) (is-frozen?))
|
||||||
no-word]
|
no-word]
|
||||||
[else
|
[else
|
||||||
(let ([type (classify-position current-pos)])
|
(let ([type (classify-position (max 0 (- current-pos 1)))])
|
||||||
(cond
|
(cond
|
||||||
[(eq? 'symbol type)
|
[(eq? 'symbol type)
|
||||||
(get-text (look-for-non-symbol current-pos)
|
(get-text (look-for-non-symbol (max 0 (- current-pos 1)))
|
||||||
current-pos)]
|
current-pos)]
|
||||||
[else no-word]))])))
|
[else no-word]))])))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user