News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Need help with SciLexer.dll 3.51

Started by gfalen, October 15, 2014, 09:04:36 AM

Previous topic - Next topic

gfalen

I set lexer to SCLEX_CONTAINER but I get no SCN_STYLENEEDED notifications!!
Greg D Falen

dedndave

i have no experience with scilexer, but.....

http://www.scintilla.org/ScintillaDownload.html

there is a windows executable d/l - perhaps you can get some example code ?

gfalen

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.
Greg D Falen

dedndave

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

dedndave

they might also come as WM_NOTIFY or WM_COMMAND messages   :P