[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 300992] Searching for a phrase does not find occurences split by a line break / newline in Pdf
From:       Volker Lukas <vlukas () gmx ! de>
Date:       2012-06-04 12:01:47
Message-ID: bug-300992-17878-wxJwMC6n0f () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=300992

--- Comment #3 from Volker Lukas <vlukas@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic