[Okular-devel] [Bug 300992] Searching for a phrase does not find occurences split by a line break / newline in Pdf
Volker Lukas
vlukas at gmx.de
Mon Jun 4 12:01:47 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=300992
--- Comment #3 from Volker Lukas <vlukas at gmx.de> ---
To reproduce, open the file I just attached with Okular. Then open a search bar
and type "abc uvw". This will find only one occurence of that phrase in the
document, that is the first one is higlighted but clicking the next button will
not find the second occurence, that which continues on the second line.
One the other hand, if "abc\nuvw" is entered in the search bar, where the "\n"
signifies a newline character, the second occurence in the document is found
(but not the first one).
I suggest to add an option to the search function in Okular which contracts
multiple consecutive whitespace characters (including newline) into exactly one
space character so that for example searching for "abc uvw" will find both "abc
uvw" and "abc\nuvw" (or "abc uvw", etc...).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list