Skip to content

Commit f629a6a

Browse files
authored
feat: copy/cut current line on empty selection (#1083)
1 parent aedbfc0 commit f629a6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/editorManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ async function EditorManager($header, $body) {
386386
editor.setOption("printMarginColumn", settings.printMargin);
387387
editor.setOption("enableBasicAutocompletion", true);
388388
editor.setOption("enableLiveAutocompletion", settings.liveAutoCompletion);
389+
editor.setOption("copyWithEmptySelection", true);
389390
// editor.setOption('enableInlineAutocompletion', settings.inlineAutoCompletion);
390391

391392
updateMargin(true);

0 commit comments

Comments
 (0)