joaonetto created this revision. Herald added a project: Okular. Herald added a subscriber: okular-devel. joaonetto requested review of this revision.
REVISION SUMMARY As reported by users, search would not find if the text was split across multiple lines, this fixes it, I added tests to prove it, there's the PDF in the bug report for test. BUG: 376692 TEST PLAN Open PDF provided by user. Search for United States. Find three different ocurrences. REPOSITORY R223 Okular BRANCH master REVISION DETAIL https://phabricator.kde.org/D19717 AFFECTED FILES autotests/searchtest.cpp core/textpage.cpp To: joaonetto Cc: okular-devel, tfella, ngraham, darcyshen, aacid