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.

Jun 29, 2010 at 3:37 PM

I suppose I should update the FAQ with this one: [discussion:82543] [discussion:34376]