Merge pull request #1 from f111fei/master
bug fixed Window.showQuickPick and then press ESC
This commit is contained in:
Коммит
47b92b4777
|
@ -82,6 +82,9 @@ function textFunctions() {
|
|||
items.push({ label: "ASCII Art", description: "Convert [hello] to ASCII Art" });
|
||||
|
||||
Window.showQuickPick(items).then((selection) => {
|
||||
if (!selection) {
|
||||
return;
|
||||
}
|
||||
let e = Window.activeTextEditor;
|
||||
let d = e.document;
|
||||
let sel = e.selections;
|
||||
|
|
Загрузка…
Ссылка в новой задаче