> Does it also happen with C++ files?
> If not, it might be a bug in the
> specific lexer used for the file..

I'm not using a lexer, i used SCI_SETLEXER(SCLEX_NULL). Previously i had 
SCI_SETLEXER(SCLEX_CONTAINER) but i didn't need the SCN_STYLENEEDED 
notifications so i changed to SCLEX_NULL.

I don't load a file, i just type some chars in an empty window, they are styled 
by my code as expected, then i move the cursor back to the beginning of line 
and i type one more char (or paste a string), that makes the preexisting chars 
shift to the right but also makes the last of them to lose its style and get 
the default style.

> Doesn't happen here...

Thanks for testing. If you're using a lexer, then maybe the fact that i'm not 
using any lexer matters.
Good to know anyway. It's likely that i have screwed something up somewhere. 
I'll re-check everything and post what i find out.

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to