aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement syntax highlighting for format stringsLeander Tentrup2020-04-201-0/+65
| | | | | | | Detailed changes: 1) Implement a lexer for string literals that divides the string in format specifier `{}` including the format specifier modifier. 2) Adapt syntax highlighting to add ranges for the detected sequences. 3) Add a test case for the format string syntax highlighting.
* Fix incorrect order of syntax highlight rangesLeander Tentrup2020-04-171-0/+12
|
* Simplify HTML highlighter and add test case for highlight_injection logicLeander Tentrup2020-04-061-12/+21
|
* Flatten nested highlight ranges during DFS traversalLeander Tentrup2020-04-031-0/+16
|
* Correctly flag 'lifetime definitions as definitionsAleksey Kladov2020-02-281-5/+4
|
* Fix highlighting of const patternsAleksey Kladov2020-02-281-5/+12
|
* Fix highlighting testAleksey Kladov2020-02-281-1/+1
|
* Move tests to a new fileAleksey Kladov2020-02-271-0/+127