3 Jul 2012 05:20
How can I can overlay a "temporary" styling with what a lexer has already done?
John Vella <jvella23 <at> gmail.com>
2012-07-03 03:20:35 GMT
2012-07-03 03:20:35 GMT
I'm using the lexers that come with Scintilla(eg C++, Verilog, VHDL, etc). I have a need to "overlay" a style temporarily and when done with it I need the style that the lexer had applied to reappear. For example, say the C++ lexer applied style 10 for a range of text. I then create my own custom style and apply it to that same range of text(via SCI_SETSTYLING). How do I then remove my custom styling so the original style 10 will once again be used?
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/-/AtN8HXzx2GQJ.
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.
A small code snippet would really help me out.
Thanks in advance,
-John
-- 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/-/AtN8HXzx2GQJ.
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