We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a325cf4 commit efaee72Copy full SHA for efaee72
src/lib/commands.js
@@ -1,4 +1,5 @@
1
import fsOperation from "fileSystem";
2
+import { selectAll } from "@codemirror/commands";
3
import Sidebar from "components/sidebar";
4
import { TerminalManager } from "components/terminal";
5
import color from "dialogs/color";
@@ -340,8 +341,7 @@ export default {
340
341
},
342
"select-all"() {
343
const { editor } = editorManager;
- editor.execCommand("selectall");
344
- editor.scrollToRow(Number.POSITIVE_INFINITY);
+ selectAll(editor);
345
346
async rename(file) {
347
file = file || editorManager.activeFile;
0 commit comments