InputEvent: Support ‘insertTranspose’ and 'insertFromYank' for macOS |
||
Issue descriptionTranspose and Kill&Yank are macOS only feature (following Emacs style). Usage (inside cE or input field): * Transpose: Place caret in between 2 characters and press 'Ctrl-t'. * Kill&Yank: Place caret after a word, press 'Alt-delete' to kill a word, then press 'Ctrl-y' to yank According to spec we should fire InputEvent to these actions: https://w3c.github.io/input-events/#h-interface-inputevent-attributes Related discussion: https://github.com/w3c/input-events/issues/20
,
Mar 16 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ef8ab61bac3cd1a4d714fbc4c1b9e5a042df3422 commit ef8ab61bac3cd1a4d714fbc4c1b9e5a042df3422 Author: chongz <chongz@chromium.org> Date: Thu Mar 16 02:20:06 2017 [InputEvent] Support 'insertTranspose' This CL adds input type 'insertTranspose' for macOS hotkey Ctrl-t. BUG= 652401 Review-Url: https://codereview.chromium.org/2747943005 Cr-Commit-Position: refs/heads/master@{#457316} [add] https://crrev.com/ef8ab61bac3cd1a4d714fbc4c1b9e5a042df3422/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-transpose.html [modify] https://crrev.com/ef8ab61bac3cd1a4d714fbc4c1b9e5a042df3422/third_party/WebKit/Source/core/editing/Editor.cpp [modify] https://crrev.com/ef8ab61bac3cd1a4d714fbc4c1b9e5a042df3422/third_party/WebKit/Source/core/events/InputEvent.cpp [modify] https://crrev.com/ef8ab61bac3cd1a4d714fbc4c1b9e5a042df3422/third_party/WebKit/Source/core/events/InputEvent.h
,
Mar 16 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Mar 13 2017