mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We still need to adjust the affected range to the line boundaries and return all tokens on the line when there are no new tokens, as the client will clear all tokens on that line in its copy of the syntax map leaving the other tokens unhighlighted. We also need to extend the affected range to include the ranges of the mismatched tokens from the previous syntaxmap, so their highlighting will be cleared. Also add more comments to better document the new syntax map structure and behaviour.
6 lines
25 B
Swift
6 lines
25 B
Swift
let y = /*
|
|
|
|
*// /*
|
|
|
|
*/ 2
|