First two lines are not highlighted in CudaText. If this is not a bug I would appreciate any advice on how to fix it.
lexer in question - rule 'FuncCall'
SynWrite and CudaText differences
-
- Posts: 392
- Joined: 01.12.2020 13:46
I'm trying to have separate colors for :
* keywords - listed in rule 'Keywords'
* builtin functions - rule 'Functions'
* 'id' tokens with a following '('
* all other 'id' tokens
I thought accomplishing this would be easier with Rules ('FuncCall' Rule), then creating more parsers.
I removed token style from 'id' parsers because I think I can't override that style from a Rule.
* keywords - listed in rule 'Keywords'
* builtin functions - rule 'Functions'
* 'id' tokens with a following '('
* all other 'id' tokens
I thought accomplishing this would be easier with Rules ('FuncCall' Rule), then creating more parsers.
I removed token style from 'id' parsers because I think I can't override that style from a Rule.
-
- Posts: 392
- Joined: 01.12.2020 13:46