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

Reply via email to