bors[bot] 8ea7c9cb62
Merge #3826
3826: Flatten nested highlight ranges during DFS traversal r=matklad a=ltentrup

Implements the flattening of nested highlights from #3447.


There is a caveat: I needed to add `Clone` to `HighlightedRange` to split highlight ranges  ~and the nesting does not appear in the syntax highlighting test (it does appear in the accidental-quadratic test but there it is not checked against a ground-truth)~.

I have added a test case for the example mentioned in #3447.

Co-authored-by: Leander Tentrup <leander.tentrup@gmail.com>
2020-04-08 12:00:08 +00:00
..
2020-04-06 17:21:33 +03:00
2020-04-08 12:00:08 +00:00
2020-04-06 17:21:33 +03:00
2020-04-07 05:12:08 -07:00
2020-03-28 12:27:54 +01:00
2020-04-06 17:00:18 +02:00
2020-03-26 03:29:45 +08:00
2020-03-26 03:29:45 +08:00
2020-04-06 17:21:33 +03:00
2020-04-08 12:00:08 +00:00