mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-07-24 20:39:40 +08:00
修复alt+z无法换行的bug
This commit is contained in:
parent
ea2e873525
commit
cd152e4c88
@ -228,7 +228,7 @@ export default {
|
|||||||
monaco.KeyMod.Alt | monaco.KeyCode.KeyZ,
|
monaco.KeyMod.Alt | monaco.KeyCode.KeyZ,
|
||||||
() => {
|
() => {
|
||||||
that.wordWrap = that.wordWrap === "off" ? "on" : "off";
|
that.wordWrap = that.wordWrap === "off" ? "on" : "off";
|
||||||
that.rawEditor.updateOptions({ wordWrap: that.wordWrap });
|
that.rawEditor().updateOptions({ wordWrap: that.wordWrap });
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
// ctrl + s 保存
|
// ctrl + s 保存
|
||||||
@ -238,7 +238,7 @@ export default {
|
|||||||
that.$emit("keyStroke", "save");
|
that.$emit("keyStroke", "save");
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
// ctrl + space 快速 console.log
|
// ctrl + e 快速 console.log
|
||||||
this.rawEditor().addCommand(
|
this.rawEditor().addCommand(
|
||||||
monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyE,
|
monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyE,
|
||||||
() => {
|
() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user