[PyQt] [PYQT]Search in QTextedit

Florian Bruhin me at the-compiler.org
Sun Aug 19 17:04:51 BST 2018


On Sun, Aug 19, 2018 at 08:31:13PM +0430, Maziar Parsijani wrote:
> I use the below code to search in qtextedit to match a word.Are there any
> better Idea.

Are you aware that there's a QTextEdit::find method?

Florian

-- 
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180819/cb12fa82/attachment.sig>


More information about the PyQt mailing list