LayoutTests:
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Sep 2006 19:19:32 +0000 (19:19 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Sep 2006 19:19:32 +0000 (19:19 +0000)
commit2d315dcce127d98cfcb166276bc38d84e4c23214
tree07244897121a12009c740f0b2a34b958cd064e93
parent8b3f46916f876672ce1f7a1a5c9fd9d66d5b3b1d
LayoutTests:

        Reviewed by John and TimH.

        <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty

        * editing/pasteboard/emacs-cntl-y-001-expected.checksum: Added.
        * editing/pasteboard/emacs-cntl-y-001-expected.png: Added.
        * editing/pasteboard/emacs-cntl-y-001-expected.txt: Added.
        * editing/pasteboard/emacs-cntl-y-001.html: Added.

WebKit:

        Reviewed by John and TimH.

        <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty

        Use deleteBackward: when the killring string is empty. Was always using insertText:,
        but that ends up early-returning if the string to insert is empty.

        * WebView/WebHTMLView.m:
        (-[NSArray yank:]):
        (-[NSArray yankAndSelect:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/emacs-cntl-y-001-expected.checksum [new file with mode: 0644]
LayoutTests/editing/pasteboard/emacs-cntl-y-001-expected.png [new file with mode: 0644]
LayoutTests/editing/pasteboard/emacs-cntl-y-001-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/emacs-cntl-y-001.html [new file with mode: 0644]
WebKit/ChangeLog
WebKit/WebView/WebHTMLView.m