Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Unified Diff: Source/core/editing/EditorCommand.cpp

Issue 868463002: Support WholeWord in window.find() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: bug fix Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/editing/EditorCommand.cpp
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
index a37f4dbc50b988d7297b59bd4dfb42a9e46f7f08..063e30620c8187335d3b7093fad38c126cf15fdc 100644
--- a/Source/core/editing/EditorCommand.cpp
+++ b/Source/core/editing/EditorCommand.cpp
@@ -420,7 +420,7 @@ static bool executeDeleteWordForward(LocalFrame& frame, Event*, EditorCommandSou
static bool executeFindString(LocalFrame& frame, Event*, EditorCommandSource, const String& value)
{
- return frame.editor().findString(value, true, false, true, false);
+ return frame.editor().findString(value, CaseInsensitive | WrapAround);
}
static bool executeFontName(LocalFrame& frame, Event*, EditorCommandSource source, const String& value)

Powered by Google App Engine
This is Rietveld 408576698