⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 246013 in webkit


Ignore:
Timestamp:
May 31, 2019, 11:19:52 PM (7 years ago)
Author:
Megan Gardner
Message:

Ensure keyboard editing is up to date
https://bugs.webkit.org/show_bug.cgi?id=198444
<rdar://problem/36311563>

Reviewed by Ryosuke Niwa.

In order for the keyboard cut/copy/undo/redo/etc buttons to be up to date
based on the state of the selection, we need to let the input delegate know when the
selection has changed.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _selectionChanged]):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r246011 r246013  
     12019-05-31  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Ensure keyboard editing is up to date
     4        https://bugs.webkit.org/show_bug.cgi?id=198444
     5        <rdar://problem/36311563>
     6
     7        Reviewed by Ryosuke Niwa.
     8
     9        In order for the keyboard cut/copy/undo/redo/etc buttons to be up to date
     10        based on the state of the selection, we need to let the input delegate know when the
     11        selection has changed.
     12
     13        * UIProcess/ios/WKContentViewInteraction.mm:
     14        (-[WKContentView _selectionChanged]):
     15
    1162019-05-31  Sihui Liu  <sihui_liu@apple.com>
    217
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r245998 r246013  
    57195719#endif
    57205720
     5721    [self.inputDelegate selectionDidChange:self];
     5722   
    57215723    [_webView _didChangeEditorState];
    57225724}
Note: See TracChangeset for help on using the changeset viewer.