Yesterday I tried adding a texteditor(with C++ tokensier) to the demo Host Plugin application but found that it became very slow and took quite a while to respond to scrolling or even writing text, with a file consisting of only 250 lines.
I then hacked a simple VST plugin and added a button to launch the same editor in a document window. When I launch the editor, from the plugin, within the host it is far more responsive then when the editor was embedded into the host. Can anyone think of any reason that it might be behaving so slowly? Everywhere else I have used the CodeEditorExtended class it behaves pretty well.
Am I missing something, or is there anything I can do to speed up the editor’s performance?