fix a coloring bug
also, add a little more logging to the aspell logging info
This commit is contained in:
parent
4b094f8ec8
commit
793ee71e69
|
@ -48,7 +48,8 @@
|
|||
(define problematic 'dont-know)
|
||||
(define (aspell-problematic?)
|
||||
(when (eq? problematic 'dont-know)
|
||||
(set! problematic (do-aspell-problematic)))
|
||||
(set! problematic (do-aspell-problematic))
|
||||
(asp-log (format "set problematic to ~s" problematic)))
|
||||
problematic)
|
||||
|
||||
(define (do-aspell-problematic)
|
||||
|
|
|
@ -394,7 +394,7 @@ added get-regions
|
|||
[lp 0])
|
||||
(cond
|
||||
[(null? spellos)
|
||||
(add-coloring color (+ sp lp) (+ sp (string-length str)))]
|
||||
(add-coloring color (+ pos lp) (+ pos (string-length str)))]
|
||||
[else
|
||||
(define err (car spellos))
|
||||
(define err-start (list-ref err 0))
|
||||
|
|
Loading…
Reference in New Issue
Block a user