Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix incorrect order of syntax highlight ranges | Leander Tentrup | 2020-04-17 | 1 | -0/+12 |
| | |||||
* | Merge #3826 | bors[bot] | 2020-04-08 | 2 | -41/+50 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> | ||||
| * | Simplify HTML highlighter and add test case for highlight_injection logic | Leander Tentrup | 2020-04-06 | 2 | -53/+46 |
| | | |||||
| * | Flatten nested highlight ranges during DFS traversal | Leander Tentrup | 2020-04-03 | 1 | -0/+16 |
| | | |||||
* | | Make control token modifier less ambiguous | Aleksey Kladov | 2020-04-06 | 1 | -3/+3 |
|/ | | | | | | | | | In textmate, keyword.control is used for all kinds of things; in fact, the default scope mapping for keyword is keyword.control! So let's add a less ambiguous controlFlow modifier See Microsoft/vscode#94367 | ||||
* | Correctly flag 'lifetime definitions as definitions | Aleksey Kladov | 2020-02-28 | 3 | -8/+11 |
| | |||||
* | Fix highlighting of const patterns | Aleksey Kladov | 2020-02-28 | 1 | -5/+12 |
| | |||||
* | Fix highlighting test | Aleksey Kladov | 2020-02-28 | 3 | -11/+13 |
| | |||||
* | Cleanup highlighting tags | Aleksey Kladov | 2020-02-28 | 1 | -45/+47 |
| | |||||
* | add more tags | Aleksey Kladov | 2020-02-28 | 1 | -10/+16 |
| | |||||
* | Move tests to a new file | Aleksey Kladov | 2020-02-27 | 1 | -0/+127 |
| | |||||
* | Renam module | Aleksey Kladov | 2020-02-27 | 1 | -0/+0 |
| | |||||
* | Move html highlightig to a separate module | Aleksey Kladov | 2020-02-27 | 1 | -0/+104 |
| | |||||
* | Better highlightign API | Aleksey Kladov | 2020-02-27 | 2 | -43/+163 |
| | |||||
* | More type safety for highlighting | Aleksey Kladov | 2020-02-26 | 1 | -0/+43 |