Highlight color not updating in direct in custom language
Answered
Hi,
I'm trying to create a plugin to handle Ren'Py (a Visual,Novel engine with a python like language).
I first entirely followed the tutorial on how to create a custom language plugin without any problem, everything worked.
Now I want to to the same but I have a problem with highlight coloring. When loading the project, everything is fine but new code is all white: (on the image the last line has been added after loading, and you can see the PSI is good)

Any idea of why it does that ?
Please sign in to leave a comment.
Enable internal actions http://www.jetbrains.org/intellij/sdk/docs/reference_guide/internal_actions/internal_actions_intro.html
then run "Show Editor Highlighter Tokens"
Can't enabled internal actions when running the plugin, the option to edit the properties is grayed
You can pass it as VM parameter "-Didea.is.internal=true" as well
ok. I enabled the option then added line 16
It shows that the highlighter ignore the new tokens, but the question is why ?
Please shares sources of your plugin
How do I do that ? I won't paste all the code right here.
Sure, you can upload ZIP somewhere and send me link in private <yann.cebron@jetbrains.com>
Ok, I sent it to you.
For information it's for Ren'Py, a language which looks like Python