13 Jun 2012 18:13
What can make SCI_SETLEXER fail?
tenaja <tenajahiker <at> yahoo.com>
2012-06-13 16:13:48 GMT
2012-06-13 16:13:48 GMT
I have been using a custom "one size fits all" lexer written by a third party, for a custom language. It is working great. Now I want to add C lexing with Scinitlla's built in lexers, but something in the custom lexer causes the SCI_SETLEXER command to fail. If I SCI_GETLEXER before, the value is 0, and then I execute SCI_SETLEXER(SCLEX_CPP), and another GetLexer shows 0 still (should return 3). I tried inserting a SetLexer(SCLEX_NULL) first, but that also failed. I searched this list and did not get any hits for "SCI_SETLEXER fail". Is this common, or expected in certain circumstances? What could cause it? Thanks much... and thank you, Neil, for a great tool! -- -- You received this message because you are subscribed to the Google Groups "scintilla-interest" group. To view this discussion on the web visit https://groups.google.com/d/msg/scintilla-interest/-/jA-PrYbRJc0J. To post to this group, send email to scintilla-interest <at> googlegroups.com. To unsubscribe from this group, send email to scintilla-interest+unsubscribe <at> googlegroups.com. For more options, visit this group at http://groups.google.com/group/scintilla-interest?hl=en.
RSS Feed