Posted 19 years ago
by Ashton
-
Developer,
Schema Solutions LLC
I am having some problems where I am changing the language tokens in a document and occassionaly it seems to cause a problem (probably due to large # of items I'm loading) and basically causes the SyntaxEditor window to just have a big red X (indicating sometype of error in paint).
In addition, it seems to prevent the user from typing for several seconds (depending on size of changes).
I was thinking about creating a second Document class and then loading the new language tokens into that document on a separate thread and then possibly saving that doc's language to a memory stream and then loading it back into the main document.
Do you see any issues in doing things this way or would you recommend doing things differently?
Thanks,
Ashton
In addition, it seems to prevent the user from typing for several seconds (depending on size of changes).
I was thinking about creating a second Document class and then loading the new language tokens into that document on a separate thread and then possibly saving that doc's language to a memory stream and then loading it back into the main document.
Do you see any issues in doing things this way or would you recommend doing things differently?
Thanks,
Ashton