[QScintilla] higlight all chosen words
Petr Vanek
petr at scribus.info
Tue Feb 24 08:44:40 GMT 2009
hi all,
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?
cheers,
Petr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20090224/be7fe063/attachment.html
More information about the QScintilla
mailing list