Sure, as a simple example, this will crash it:
I would think it would just not add any more text if it experienced some sort of buffer overflow, so it seems like that's not what's happening?
It'll do it with 7000-8000 characters in some cases, if I use different characters.
As another example, if I just paste this over and over again:
:: Settings:
:: AutoLog Interval: 0 seconds
:: History Length: 200 commands
:: Scroll Buffer Length: 3000 lines
:: Echo is On
:: Clear Input is On
:: Highlight Input is Off
:: Aliases: 0
:: Actions: 0
::
:: Type #? for a list of ZenMu commands.
::
:: Click Reconnect to connect to:
:: kier.com 8500
It'll crash a lot sooner.
This is all done from the main UI thread.
for (int i = 0; i < 1400; i++)
scintilla1.AppendText("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n");
Granted that's quite a few characters, probably around 90-100k, but it's still not that many. And that's the simplest example.I would think it would just not add any more text if it experienced some sort of buffer overflow, so it seems like that's not what's happening?
It'll do it with 7000-8000 characters in some cases, if I use different characters.
As another example, if I just paste this over and over again:
:: Settings:
:: AutoLog Interval: 0 seconds
:: History Length: 200 commands
:: Scroll Buffer Length: 3000 lines
:: Echo is On
:: Clear Input is On
:: Highlight Input is Off
:: Aliases: 0
:: Actions: 0
::
:: Type #? for a list of ZenMu commands.
::
:: Click Reconnect to connect to:
:: kier.com 8500
It'll crash a lot sooner.
This is all done from the main UI thread.