| Summary: | [raku] Operator highlighting in word quote | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | habere-et-dispertire <kde.eggs> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph, walter.von.entferndt |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/-/commit/93cbc83a0d2c93212232b0cbd7d87fff76c11455 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Kate editor on Windows showing raku syntax highlighting issue | ||
|
Description
habere-et-dispertire
2022-10-13 09:29:57 UTC
Thanks for the report, some patch would be welcome https://invent.kde.org/frameworks/syntax-highlighting#how-to-contribute A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/520 Git commit 93cbc83a0d2c93212232b0cbd7d87fff76c11455 by Christoph Cullmann, on behalf of Jonathan Poelen.
Committed on 03/08/2023 at 08:20.
Pushed by cullmann into branch 'master'.
Raku: fix quote-words and more
Operator handling has been reviewed to determine if \< is an operator or a term
```pl
$i < 1
$i + < 1
^ string delimiter
```
- fix `\cNNNN`
- fix range operator in a regex
- fix some pattern in regex
- fix adverb argument
- ....
New highlighting:
- Symbol
- Hyper Operator
- Member Operator
- Number Suffix
- Pattern Bracket
- Pattern Delimiter
- Pattern Named Capture
M +109 -36 autotests/folding/highlight.raku.fold
M +19 -19 autotests/folding/test.markdown.fold
M +442 -369 autotests/html/highlight.raku.dark.html
M +442 -369 autotests/html/highlight.raku.html
M +20 -20 autotests/html/test.markdown.dark.html
M +20 -20 autotests/html/test.markdown.html
M +73 -0 autotests/input/highlight.raku
M +402 -329 autotests/reference/highlight.raku.ref
M +20 -20 autotests/reference/test.markdown.ref
M +2 -2 data/syntax/markdown.xml
M +846 -532 data/syntax/raku.xml
https://invent.kde.org/frameworks/syntax-highlighting/-/commit/93cbc83a0d2c93212232b0cbd7d87fff76c11455
|