DescriptionStrip carriage return from find text; show newline symbols.
Blink won't find carriage returns from Windows clipboards.
Strip those characters before calling WebContents::Find.
The newline character is displayed wrong in textfields.
Swap it out for the Unicode newline symbol:  (0x2424).
(the glyph isn't available on Win Views for me now...)
See before/after pics at http://crbug.com/371450#c7
BUG=371450
TEST=Find-in-page works well for string containing line breaks.
R=pkasting@chromium.org
TBR=asvitkine@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282102
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address comments. #Patch Set 3 : Restore char16 arrays for cross platform support. #
Messages
Total messages: 10 (0 generated)
|