Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js |
| index ae224e5a367959468a5beb77a24401dbc51ffae8..003013e047310d2e15861a42e2a860c98c65f009 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js |
| @@ -112,6 +112,14 @@ TextEditor.CodeMirrorTextEditor = class extends UI.VBox { |
| 'Ctrl-Right': 'moveCamelRight', |
| 'Ctrl-A': 'goLineLeft', |
| 'Ctrl-E': 'goLineRight', |
| + 'Ctrl-B': 'goCharLeft', |
|
lushnikov
2016/12/07 01:04:53
shall we add these in the ConsolePrompt only?
einbinder
2016/12/07 01:19:43
Why? They occur in <textarea> on mac, so it makes
|
| + 'Ctrl-F': 'goCharRight', |
| + 'Ctrl-Alt-B': 'goGroupLeft', |
| + 'Ctrl-Alt-F': 'goGroupRight', |
| + 'Ctrl-H': 'delCharBefore', |
| + 'Ctrl-D': 'delCharAfter', |
| + 'Ctrl-K': 'killLine', |
| + 'Ctrl-T': 'transposeChars', |
| 'Shift-Ctrl-Left': 'selectCamelLeft', |
| 'Shift-Ctrl-Right': 'selectCamelRight', |
| 'Cmd-Left': 'goLineStartSmart', |