Ya, I got nothin'. I can't reproduce this no matter how many ways I try. I can change your 'for' loop to 10400 iterations instead of just 1400. I can paste your text snippet until it gets ridiculous. Still nothing.
I'm starting to think maybe there is an issue with your program. Are you listening to any Scintilla events like UpdateUI, SelectionChange, TextChange, etc... I'm wondering if an error in one of those--which could be triggered by a lot of appended text--could be your problem.
If you are listening to any of those events you might try to temporarily remove them and see if you still get the same problem.
Jacob
I'm starting to think maybe there is an issue with your program. Are you listening to any Scintilla events like UpdateUI, SelectionChange, TextChange, etc... I'm wondering if an error in one of those--which could be triggered by a lot of appended text--could be your problem.
If you are listening to any of those events you might try to temporarily remove them and see if you still get the same problem.
Jacob