提交 151d2368 编写于 作者: A Alex Dima

Fixes #8794: Bind ctrlCmd+a only when editor has text focus

上级 6df9ae9f
...@@ -405,6 +405,6 @@ KeybindingsRegistry.registerCommandDesc({ ...@@ -405,6 +405,6 @@ KeybindingsRegistry.registerCommandDesc({
id: 'editor.action.selectAll', id: 'editor.action.selectAll',
handler: selectAll, handler: selectAll,
weight: KeybindingsRegistry.WEIGHT.editorCore(), weight: KeybindingsRegistry.WEIGHT.editorCore(),
when: null, when: KbExpr.has(editorCommon.KEYBINDING_CONTEXT_EDITOR_TEXT_FOCUS),
primary: KeyMod.CtrlCmd | KeyCode.KEY_A primary: KeyMod.CtrlCmd | KeyCode.KEY_A
}); });
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册