summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/text/TextBoundaries.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/text/TextBoundaries.h')
-rw-r--r--WebCore/platform/text/TextBoundaries.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/text/TextBoundaries.h b/WebCore/platform/text/TextBoundaries.h
index 7eb9cab..870ab62 100644
--- a/WebCore/platform/text/TextBoundaries.h
+++ b/WebCore/platform/text/TextBoundaries.h
@@ -35,6 +35,9 @@ namespace WebCore {
return WTF::Unicode::hasLineBreakingPropertyComplexContext(ch);
}
+ int endOfFirstWordBoundaryContext(const UChar* characters, int length);
+ int startOfLastWordBoundaryContext(const UChar* characters, int length);
+
void findWordBoundary(const UChar*, int len, int position, int* start, int* end);
int findNextWordFromIndex(const UChar*, int len, int position, bool forward);