Author Topic: Need help with SciLexer.dll 3.51  (Read 2792 times)

gfalen

  • Regular Member
  • *
  • Posts: 9
Need help with SciLexer.dll 3.51
« on: October 15, 2014, 09:04:36 AM »
I set lexer to SCLEX_CONTAINER but I get no SCN_STYLENEEDED notifications!!
Greg D Falen

dedndave

  • Member
  • *****
  • Posts: 8829
  • Still using Abacus 2.0
    • DednDave
Re: Need help with SciLexer.dll 3.51
« Reply #1 on: October 15, 2014, 04:06:15 PM »
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

  • Regular Member
  • *
  • Posts: 9
Re: Need help with SciLexer.dll 3.51
« Reply #2 on: October 15, 2014, 04:36:47 PM »
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

  • Member
  • *****
  • Posts: 8829
  • Still using Abacus 2.0
    • DednDave
Re: Need help with SciLexer.dll 3.51
« Reply #3 on: October 15, 2014, 06:03:30 PM »
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

  • Member
  • *****
  • Posts: 8829
  • Still using Abacus 2.0
    • DednDave
Re: Need help with SciLexer.dll 3.51
« Reply #4 on: October 15, 2014, 08:10:35 PM »
they might also come as WM_NOTIFY or WM_COMMAND messages   :P