Skip to content

Commit 7e8464a

Browse files
committed
Test chars safely when highlighting
The arrow test at lastOffset - 3 is out-of-range when highlighting, which parses a snippet of source. Always check lower bound in testChar. Don't check as initial condition in testChars because it recurses. [Cherry-picked fb6cc9b][modified]
1 parent 129205f commit 7e8464a

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)