CodeGlance
CodeGlance copied to clipboard
Missing or incorrect hilighting for various languages
There are a bunch of issues that all come back to the way CodeGlance gets its syntax highlighting.
I cant find a way to get the processed color information for each character, so instead I run the tokenizer for the language over the file again. This works pretty well, but many language plugins do a second pass once the AST has been built. This means these things are missing:
- colors on very dynamic languages (javascript, groovy). They have very simple tokenizers and move everything into ast processing.
- embedded language blocks.