Skip to content

Commit ffccf1b

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 fd143c7 commit ffccf1b

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)