<P>hi again,<BR></P><P>for those who are interested in this... here is a small example (c++):</P><P>http://zope.yarpen.cz/tmp/searchtest.tar.gz</P><P>Detlev, thanks for pointing me to your Python code (but I reimplement it for simplicity ;))</P><P>all the best,</P><P>Petr</P><BLOCKQUOTE style="border:0;border-left: 2px solid #22437f; padding:0px; margin:0px; padding-left:5px; margin-left: 5px; "><FONT face="verdana" size="2">--- Original message follows ---<BR><B>Subject: </B>Re: [QScintilla] higlight all chosen words<BR><B>From:  </B>Detlev Offenbach &lt;detlev@die-offenbachs.de&gt;<BR><B>To: </B>"qscintilla@riverbankcomputing.com" &lt;qscintilla@riverbankcomputing.com&gt;,"Petr Vanek" &lt;petr@scribus.info&gt;<BR><B>Date: </B>24.02.2009 19:11<BR></FONT><BR><BR>On Dienstag, 24. Februar 2009, Petr Vanek wrote:<BR>&gt; hi all,<BR>&gt;<BR>&gt; is there any way how to highlight all occurences of e.g. searched<BR>&gt; words in Qscintilla widget?<BR>&gt;<BR>&gt; Example: User is searching for word "foo" in custom search&amp;replace<BR>&gt; dialog. So I call findFirst()/findNext() mechanism as it's required.<BR>&gt; But I want to have highlighted all occurences of searched term e.g.<BR>&gt; with background color.<BR>&gt;<BR>&gt; Is there any quick way how to do it or should I write it myself with<BR>&gt; setSelectionBackgroundColor()/resetSelectionBackgroundColor() in loop?<BR>&gt;<BR>&gt; cheers,<BR>&gt;<BR>&gt; Petr<BR><BR>Check the eric4 editor on how to do that.<BR><BR>Detlev<BR>-- <BR>Detlev Offenbach<BR>detlev@die-offenbachs.de<BR><BR></BLOCKQUOTE>