Dear Neil, Thanks so much of your quickly feedback first. I've done what you mentioned in your mail but it just add the underline for the matched words. How about add the text/background color for the matched words?
DingZhiGang 2007/5/13, Neil Hodgson <[EMAIL PROTECTED]>:
DingZhiGang: > I tried SciTe mark All and find it highlight matches lines > but I only need to highlight multiple matches words at the moment with > a coloured background. > I also tried to modify it like these > SendEditor(SCI_STARTSTYLING, 1, 255); > SendEditor(SCI_SETSTYLING, 9, 31); > SendEditor(SCI_COLOURISE, 1, 10+1); > but it can't be displayed highlight.what should I do to solve this problem? You should be using a single high bit (128, 64, or 32) for the indicator so the first two lines should be something like SendEditor(SCI_STARTSTYLING, 1, 128); SendEditor(SCI_SETSTYLING, 9, 128); Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
_______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
