[QScintilla] higlight all chosen words
petr at scribus.info
Tue Feb 24 08:44:40 GMT 2009
is there any way how to highlight all occurences of e.g. searched
words in Qscintilla widget?
Example: User is searching for word "foo" in custom search&replace
dialog. So I call findFirst()/findNext() mechanism as it's required.
But I want to have highlighted all occurences of searched term e.g.
with background color.
Is there any quick way how to do it or should I write it myself with
setSelectionBackgroundColor()/resetSelectionBackgroundColor() in loop?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the QScintilla