changed the module lexer's strategy to be able to handle
the part of the buffer before the #lang line properly closes PR 11381 original commit: d659d2f0afe8b0d8711f58d7b6761ed9dcd48e62
This commit is contained in:
parent
3ec8eca0f9
commit
c830b5a1bc
|
@ -320,7 +320,7 @@ added get-regions
|
|||
(sp (+ in-start-pos (sub1 new-token-start)))
|
||||
(ep (+ in-start-pos (sub1 new-token-end))))
|
||||
(λ ()
|
||||
(change-style color sp ep #f)))
|
||||
(change-style color sp ep #f)))
|
||||
colors)))
|
||||
;; Using the non-spec version takes 3 times as long as the spec
|
||||
;; version. In other words, the new greatly outweighs the tree
|
||||
|
|
Loading…
Reference in New Issue
Block a user