WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
233957
[iOS] Add support for _UITextSearchOptions when finding a string
https://bugs.webkit.org/show_bug.cgi?id=233957
Summary
[iOS] Add support for _UITextSearchOptions when finding a string
Aditya Keerthi
Reported
2021-12-07 16:17:59 PST
...
Attachments
Patch
(9.92 KB, patch)
2021-12-07 16:20 PST
,
Aditya Keerthi
wenson_hsieh
: review+
Details
Formatted Diff
Diff
Patch for landing
(9.89 KB, patch)
2021-12-07 21:39 PST
,
Aditya Keerthi
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Aditya Keerthi
Comment 1
2021-12-07 16:18:23 PST
rdar://86140673
Aditya Keerthi
Comment 2
2021-12-07 16:20:31 PST
Created
attachment 446250
[details]
Patch
Aditya Keerthi
Comment 3
2021-12-07 16:20:56 PST
Patch will not apply until
https://bugs.webkit.org/show_bug.cgi?id=233915
is landed, but this is ready for review.
Wenson Hsieh
Comment 4
2021-12-07 16:25:45 PST
Comment on
attachment 446250
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=446250&action=review
r=me! (assuming EWS is happy with this, after #233915 lands)
> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:9970 > + findOptions.add(WebKit::FindOptions::AtWordStarts); > + findOptions.add(WebKit::FindOptions::AtWordEnds);
Nit - I think you can just do `.add({ WebKit::FindOptions::AtWordStarts, WebKit::FindOptions::AtWordEnds });` here.
Aditya Keerthi
Comment 5
2021-12-07 16:27:44 PST
(In reply to Wenson Hsieh from
comment #4
)
> Comment on
attachment 446250
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=446250&action=review
> > r=me! (assuming EWS is happy with this, after #233915 lands) > > > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:9970 > > + findOptions.add(WebKit::FindOptions::AtWordStarts); > > + findOptions.add(WebKit::FindOptions::AtWordEnds); > > Nit - I think you can just do `.add({ WebKit::FindOptions::AtWordStarts, > WebKit::FindOptions::AtWordEnds });` here.
Thanks for the review! Will make this change after #233915 lands.
Aditya Keerthi
Comment 6
2021-12-07 21:39:00 PST
Created
attachment 446289
[details]
Patch for landing
EWS
Comment 7
2021-12-08 09:52:01 PST
Committed
r286660
(
244973@main
): <
https://commits.webkit.org/244973@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 446289
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug