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

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

Issue 2664233003: DevTools: Add more Mac shortcuts into CodeMirrorTextEditor (Closed)
Patch Set: Created 3 years, 11 months 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 8ed13e4d5501f5f6fb64369ec40b19af5ffe8ad8..e75110ccc8fb48f135640e38bc4dc1fb7b07d7b9 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',
+ '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