aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting/html.rs
Commit message (Collapse)AuthorAgeFilesLines
* Syntax highlighting for escape sequences in stringsLeander Tentrup2020-06-171-0/+1
|
* Syntactic highlighting of NAME_REF for injectionsLeander Tentrup2020-06-151-1/+2
| | | | | | This commit adds a function that tries to determine the syntax highlighting class of NAME_REFs based on the usage. It is used for highlighting injections (such as highlighting of doctests) as the semantic logic will most of the time result in unresolved references. It also adds a color to unresolved references in HTML encoding.
* Better unsafe highlihgting testsAleksey Kladov2020-06-081-1/+2
|
* Add highlight support for unsafe fn calls and raw ptr derefPaul Daniel Faria2020-06-021-0/+1
|
* Highlight `true` and `false` as literalsMatthew Jasper2020-05-241-0/+1
|
* Introduce new semantic highlight token for format specifierLeander Tentrup2020-04-281-0/+1
|
* CleanupsAleksey Kladov2020-04-251-8/+5
|
* Convert code to text-sizeAleksey Kladov2020-04-251-5/+6
|
* Simplify HTML highlighter and add test case for highlight_injection logicLeander Tentrup2020-04-061-41/+25
|
* Correctly flag 'lifetime definitions as definitionsAleksey Kladov2020-02-281-1/+1
|
* Fix highlighting testAleksey Kladov2020-02-281-9/+11
|
* Move html highlightig to a separate moduleAleksey Kladov2020-02-271-0/+104