Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js

Issue 2559603002: DevTools: Add more Mac shortcuts into CodeMirrorTextEditor (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698