unbreak check syntax
get-current-tab may not be the right tab to replay the trace,
now that online expansion runs other tabs when the current tab
is up to date.
(cherry picked from commit 3e5a9ca3cd
)
This commit is contained in:
parent
df6eb1bc39
commit
0e8ed01cde
|
@ -1584,7 +1584,7 @@ If the namespace does not, they are colored the unbound color.
|
||||||
(when (set-syncheck-running-mode bx)
|
(when (set-syncheck-running-mode bx)
|
||||||
|
|
||||||
;; reset any previous check syntax information
|
;; reset any previous check syntax information
|
||||||
(let ([tab (get-current-tab)])
|
(let ([tab (send defs-text get-tab)])
|
||||||
(send tab syncheck:clear-error-message)
|
(send tab syncheck:clear-error-message)
|
||||||
(send tab syncheck:clear-highlighting)
|
(send tab syncheck:clear-highlighting)
|
||||||
(send defs-text syncheck:reset-docs-im))
|
(send defs-text syncheck:reset-docs-im))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user