Add SPI for Data Detectors to get ranges of text around an existing range.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 May 2016 01:11:13 +0000 (01:11 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 May 2016 01:11:13 +0000 (01:11 +0000)
commit0df9b01dc5ee6a44a2dab78b3786e240c1e25c55
tree4909d1e75ce44a9d6fd64e859c5958e2695160aa
parent30d250f151a6bf0ed38a96b433d09600fa61cd11
Add SPI for Data Detectors to get ranges of text around an existing range.
<rdar://problem/26009749>

Reviewed by Enrica Casucci.

* WebProcess/InjectedBundle/API/mac/WKDOMRange.h:
* WebProcess/InjectedBundle/API/mac/WKDOMRange.mm:
(-[WKDOMRange rangeByExpandingToWordBoundaryByCharacters:inDirection:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMRange.h
Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMRange.mm