aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Convert tests to text-sizeAleksey Kladov2020-04-251-1/+1
|
* Adapt format specifier highlighting to support escaped squences and unicode ↵Leander Tentrup2020-04-221-0/+5
| | | | identifiers
* 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