Commit 2002e0a4 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Do not ignore spaces on backwards search

This ports a change we made to the forward search 4 years ago...
7183c172 for more reference

BUGS: 311232
FIXED-IN: 4.9.5
parent d90db450
......@@ -981,16 +981,6 @@ RegularAreaRect* TextPagePrivate::findTextInternalBackward( int searchID, const
offsetMoved = true;
if ( )
// lets match newline as a space
kDebug(OkularDebug) << "newline or space";
len = stringLengthAdaptedWithHyphen(str, it, m_words.constEnd(), m_page);
int min=qMin(queryLeft,len);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment