I set lexer to SCLEX_CONTAINER but I get no SCN_STYLENEEDED notifications!!
i have no experience with scilexer, but.....
http://www.scintilla.org/ScintillaDownload.html (http://www.scintilla.org/ScintillaDownload.html)
there is a windows executable d/l - perhaps you can get some example code ?
Yes, that's where I got it from.
All the examples say if I set the lexer to SCLEX_CONTAINER, it will send SCN_STYLENEEDED notifications.
But I am not seeing them.
It works fine when I use SCLEX_CPP.
hard to figure it out without reading the entire spec - lol
but, it might be sending SCI_GETENDSTYLED messages
then, one of the parms (lParam or wParam) holds the SCN_STYLENEEDED notification code
that's similar to how other windows notifications are received
(notice: different terminology for message and notification)
http://pyqt.sourceforge.net/Docs/QScintilla2/classQsciScintillaBase.html (http://pyqt.sourceforge.net/Docs/QScintilla2/classQsciScintillaBase.html)
they might also come as WM_NOTIFY or WM_COMMAND messages :P