diff options
Diffstat (limited to 'WebCore/platform/text/TextBoundaries.h')
-rw-r--r-- | WebCore/platform/text/TextBoundaries.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/text/TextBoundaries.h b/WebCore/platform/text/TextBoundaries.h index 118dd1a..7eb9cab 100644 --- a/WebCore/platform/text/TextBoundaries.h +++ b/WebCore/platform/text/TextBoundaries.h @@ -30,6 +30,11 @@ namespace WebCore { + inline bool requiresContextForWordBoundary(UChar32 ch) + { + return WTF::Unicode::hasLineBreakingPropertyComplexContext(ch); + } + void findWordBoundary(const UChar*, int len, int position, int* start, int* end); int findNextWordFromIndex(const UChar*, int len, int position, bool forward); |