[Okular-devel] [Bug 204787] [PATCH] Support regular expressions and case sensitivity in TOC search input
Elvis Stansvik
elvstone at gmail.com
Tue Oct 6 19:58:40 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=204787
Elvis Stansvik <elvstone at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #36612|0 |1
is obsolete| |
--- Comment #6 from Elvis Stansvik <elvstone gmail com> 2009-10-06 19:58:28 ---
Created an attachment (id=37411)
--> (http://bugs.kde.org/attachment.cgi?id=37411)
Support regular expressions and case sensitivity in TOC search input - Fourth
patch
This is the fourth version of this patch, and includes two suggestions from
Pino:
o Use QRegExp all the time, but with PatterSyntax QRegExp::FixedString for
plain text search. And construct the QRegExp object in advance, not in the
loop.
o Use QRegExp::indexIn() instead of QString::indexOf() [1].
OK to commit?
[1] http://labs.trolltech.com/blogs/2008/11/04/910/
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Okular-devel
mailing list