vscode-modaledit
vscode-modaledit copied to clipboard
[bug ?] command "modaledit.cancelSelection" will delete whole line on selection mode
assuming has a line text "11 22 33 44" in VSCode, and now selection text is "33" (in selection mode), I have below setting, first pair (clipboardCopyAction + cancelSelection) work fine, second pair (clipboardCutAction + cancelSelection) will delete current line !!?? (after cut "33" into clipboard) "s": { "condition": "__selecting", "true": [ "editor.action.clipboardCopyAction", "modaledit.cancelSelection" ], "false": "expandLineSelection" //then auto turn on selection mode }, "x": { "condition": "__selecting", "true": [ "editor.action.clipboardCutAction", "modaledit.cancelSelection" //------ below commands has same behavior : //"modaledit.toggleSelection" //"modaledit.enterNormal" ], "false": "deleteRight" },
thanks for any idea