Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add HighlightTag::Operator, use it for unsafe deref. Move unsafe validation ↵ | Paul Daniel Faria | 2020-06-27 | 1 | -1/+1 |
| | | | | to its own file | ||||
* | Update injection mechanism and stop injecting through highlight element, ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -52/+52 |
| | | | | switch to more general new highlight tag, generic | ||||
* | Add punctuation highlighting for highlighting punctuation in doctests, fix ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -53/+53 |
| | | | | highlighting in doctests | ||||
* | Add default color and opacity for documentation and injected, respectively, ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -0/+2 |
| | | | | in the html generator | ||||
* | Syntax highlighting for escape sequences in strings | Leander Tentrup | 2020-06-17 | 1 | -1/+6 |
| | |||||
* | Syntactic highlighting of NAME_REF for injections | Leander Tentrup | 2020-06-15 | 1 | -0/+1 |
| | | | | | | 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 tests | Aleksey Kladov | 2020-06-08 | 1 | -1/+2 |
| | |||||
* | Fix bug in lexer for format specifier where the `type` and `width` were not ↵ | Leander Tentrup | 2020-06-07 | 1 | -1/+1 |
| | | | | correctly distinguished | ||||
* | Add highlight support for unsafe fn calls and raw ptr deref | Paul Daniel Faria | 2020-06-02 | 1 | -0/+1 |
| | |||||
* | Test case for format string highlighting of closing curlybrace | Roland Ruckerbauer | 2020-05-30 | 1 | -0/+1 |
| | |||||
* | Highlight `true` and `false` as literals | Matthew Jasper | 2020-05-24 | 1 | -0/+1 |
| | |||||
* | Highlight the name in macro declarations | Matthew Jasper | 2020-05-10 | 1 | -2/+2 |
| | |||||
* | Introduce new semantic highlight token for format specifier | Leander Tentrup | 2020-04-28 | 1 | -35/+36 |
| | |||||
* | Adapt format specifier highlighting to support escaped squences and unicode ↵ | Leander Tentrup | 2020-04-22 | 1 | -0/+5 |
| | | | | identifiers | ||||
* | Implement syntax highlighting for format strings | Leander Tentrup | 2020-04-20 | 1 | -0/+77 |
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. |