How to turn off incremental reparse of embedded code?

I'm using JavaScript as embedded language in my custom language (in the custom language plugin). The problem is that I don't want to support incremental reparsing and it is ok for me to reparse it all the time from 0 to the file end.
Question: how to turn off incremental reparse of embedded JavaScript? I want to "say" something like "hey, if you see JavaScript inside MyCoolLanguage file, give me the whole text".
Thank you.

2 comments
Comment actions Permalink

Sorry, it looks like the problem is in another place and it was a wrong question.

0
Comment actions Permalink

Well, no, the question was correct. I'm still getting unpredictable chunks of text to reparse in case of injected JavaScript changes.
Will somebody help me to turn it off?

0

Please sign in to leave a comment.