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

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: fix nit Created 5 years, 7 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
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/FindOptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditorCommand.cpp
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
index 414188a69d97e55c069ed6ce1892ddc62b1da7fb..c2ddb806a47e74a84b24686260100019d34f86ef 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)
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/FindOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698