Summary: | Searching for an asterisk skips over the second asterisk in a pair of adjacent asterisks | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Eike Hein <hein> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.11.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Eike Hein
2011-02-17 16:58:10 UTC
Addendum: It only happens on forward search, not backward. So it's probably a bug (off-by-one or so) in TextPage::findTextInternalForward ... SVN commit 1224201 by aacid: Fix off by one error on setting the search boundary limits Fix researched by Christopher Reichert Will backport to 4.6 if works fine in trunk for a while BUGS: 266535 M +1 -1 textpage.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1224201 Thanks Christopher! I tried your patch both on the original book I had the problem with and a specially-crafted test document that contains nothing but the string "**" to make sure it also works fine at the document start and end, and indeed your patch seems to have fixed the problem. I'll backport it to the 4.6 branch. SVN commit 1224223 by hein: Backport r1224201 from trunk, fixing an off-by-one in the forward search code. Original patch is by Christopher Reichert. CCBUG:266535 M +1 -1 textpage.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1224223 |