Very long lines BUG

Topics: Developer Forum, User Forum
Jun 25, 2010 at 7:55 PM

I'm using Scintilla in a C# serial terminal application. The Scintilla control show the received bytes from my computer serial port.

In this app, I receive a long sequence of bytes via serial and using AppendText method, I put these sequeces in Scintilla to show to the user.

The problem I'm having occurs when a lot of bytes have been received and put into a single line. After the line get very long, Scintilla starts to blur the text in the final part of the line, and do not show text anymore. It's writing text over text, so in the end, a part of the line gets blacked.

If I put an carriage return, the text is then displayed correctly, but when the second line gets long, the problem happens again.

This appears to be a line buffer problem.

How can I fix this?

 

Thanks for all help.

Coordinator
Jun 29, 2010 at 3:37 PM

I suppose I should update the FAQ with this one:

http://scintillanet.codeplex.com/Thread/View.aspx?ThreadId=82543 [discussion:82543]
http://scintillanet.codeplex.com/Thread/View.aspx?ThreadId=34376 [discussion:34376]

 

Jacob