提交 8b138320 编写于 作者: R Rob Lourens

Don't focus editor for "copy cell down"

上级 2fb3a3ef
......@@ -697,7 +697,7 @@ async function copyCell(context: INotebookCellActionContext, direction: 'up' | '
const text = context.cell.getText();
const newCellDirection = direction === 'up' ? 'above' : 'below';
const newCell = context.notebookEditor.insertNotebookCell(context.cell, context.cell.cellKind, newCellDirection, text);
context.notebookEditor.focusNotebookCell(newCell, true);
context.notebookEditor.focusNotebookCell(newCell, false);
}
registerAction2(class extends Action2 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册