fixed bug
svn: r8852 original commit: 0d54a9816fe41383a63894bba822d5492d63076c
This commit is contained in:
parent
87bd0170da
commit
b858b854d7
|
@ -711,6 +711,11 @@ added get-regions
|
||||||
(when stopped?
|
(when stopped?
|
||||||
(error 'skip-whitespace "called on a color:text<%> whose colorer is stopped."))
|
(error 'skip-whitespace "called on a color:text<%> whose colorer is stopped."))
|
||||||
(cond
|
(cond
|
||||||
|
[(and (eq? direction 'forward)
|
||||||
|
(= position (last-position)))
|
||||||
|
position]
|
||||||
|
[(and (eq? direction 'backward) (= position 0))
|
||||||
|
position]
|
||||||
[(not (in-colored-region? position))
|
[(not (in-colored-region? position))
|
||||||
position]
|
position]
|
||||||
[else
|
[else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user