Hello Davide, Friday, January 27, 2006, 3:05:59 PM, you wrote:
>> 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. I'm not using a lexer... If you have one, try it on another system to see if its just a corrupted library or windows setup. -- Best regards, Anthony mailto:[EMAIL PROTECTED] _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
