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

Unified Diff: Source/core/editing/FindOptions.h

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/EditorCommand.cpp ('k') | Source/core/editing/iterators/CharacterIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/FindOptions.h
diff --git a/Source/core/editing/FindOptions.h b/Source/core/editing/FindOptions.h
index 8d524a3314ffe706fcac2329c97fdc9be5d85103..0fa69dc045507f6296e61582800fe389c5bed3dd 100644
--- a/Source/core/editing/FindOptions.h
+++ b/Source/core/editing/FindOptions.h
@@ -36,7 +36,8 @@ enum FindOptionFlag {
TreatMedialCapitalAsWordStart = 1 << 2,
Backwards = 1 << 3,
WrapAround = 1 << 4,
- StartInSelection = 1 << 5
+ StartInSelection = 1 << 5,
+ WholeWord = 1 << 6 // WholeWord should imply AtWordStarts
};
typedef unsigned FindOptions;
« no previous file with comments | « Source/core/editing/EditorCommand.cpp ('k') | Source/core/editing/iterators/CharacterIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698