[QScintilla] higlight all searched text occurences

Petr Vaněk petr at yarpen.cz
Tue Nov 13 20:30:41 GMT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi all, esp. Neil.

would you accept patch for "highlight all" functionality for qsci?

Description: almost all SW I work on (using qsci) have search&replace
functionality where is expected "to highlight all occurrences of
searched string".

Problem: there is no simple Qt friendly api to ensure this thing. I
have to hack it with raw Scintilla calls etc. (note: I'm just
downloading the latest code to check it)

My idea is to provide findFirst(...) like method to highlight all
occurrences of given string/regexp with flags and indicator ID. I have
working code in many places so it just needs to be polished and reviewed.

But I'd like to know your opinion first before I'll do these unpopular
things...

thanks,
petr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQoq3xAAoJEC8yRjM4uE2t3q4H/0zRidNe6v0ldElY6M3QJTW+
Qoa57mVPriH2CHOn8gCAoSHpuiYN40Sv00Rjyt67GCCmBxeaMlikCRBi3bZdDK0T
kO94aew3cwEtIGCcQtr6xsVUlt03XsCL1XAJTEGqfekELVcA7Q0OEx0wPindv3nb
LDa9/Mattvm3TFeC0Yweq6zt+j5hKq5n9TsM0BGHxzoVa7LSEroJgxM4e6jRtYwr
t9vMBVg6lKbV4jskjIChW/0TYluhxvwSYDKMf7gYy5HtQfmhbkA99AVQ91BxiDRZ
pBInz8cOJDtoebYTNQdzHSNJ61k86ks7SnDiNjELF/vDR43/jEnVJQWJUCP7xwM=
=TLJx
-----END PGP SIGNATURE-----


More information about the QScintilla mailing list