Add of:
- shebang
- hexadecimal float
- special char: \u{xxx}, \xXX, \ddd and \z
- bitwise operator
- metamethod
- some other improvements
dhaumann |
Framework: Syntax Highlighting |
Add of:
No Linters Available |
No Unit Test Coverage |
@jpoelen Could you have a look at https://bugs.kde.org/show_bug.cgi?id=394184 ? It seems we have a regression?
There is indeed a problem with Kate, but it works with KSyntaxHighlighting. I will look in what part of doxygenlua.xml the problem is.
@dhaumann The difference is in the dynamic attribute of a context. Kate propagates the captures only if the value is true whereas SyntaxHighlighting never looks at that value and only uses the dynamic attribute of the rules.
Personally, I find that having this attribute in contexts unnecessarily complicates the writing of rules. Same for fallthrough which is redundant to fallthroughContext.
Doxygenlua.xml fixed in D12860
That's probably due to me misunderstanding the intended/existing behavior when implementing this, not an intentional decision in KSyntaxHighlighting. Removing redundancy sounds like a good idea though.