ScintillaNET control used in a C# Windows Forms application seems to corrupt memory after using AppendText, and crashes the program.
Sometimes this happens with not a very large amount of text, like 7000-8000 characters only.
I can get it to happen consistently with a for loop - eventually it will crash no matter what.
This happens when using the "plus equals" operator or AppendText.
Both of them cause the same crash.
Basically I am trying to use ScintillaNET as a fast replacement for a sluggish RichTextBox in an application that constantly appends text to the control. Seems to work great EXCEPT for this crash bug. It crashes without even very much text. It tends to crash sooner when I append more text in one block at one time. Any fix for this or a workaround?
Sometimes this happens with not a very large amount of text, like 7000-8000 characters only.
I can get it to happen consistently with a for loop - eventually it will crash no matter what.
This happens when using the "plus equals" operator or AppendText.
Both of them cause the same crash.
Basically I am trying to use ScintillaNET as a fast replacement for a sluggish RichTextBox in an application that constantly appends text to the control. Seems to work great EXCEPT for this crash bug. It crashes without even very much text. It tends to crash sooner when I append more text in one block at one time. Any fix for this or a workaround?