1
0
mirror of https://shylinux.com/x/volcanos synced 2025-05-02 19:47:01 +08:00
This commit is contained in:
harveyshao 2021-06-15 06:53:20 +08:00
parent 5eaad3df1d
commit 29a16c4043

View File

@ -283,7 +283,8 @@ Volcanos("onkeymap", {help: "键盘交互", list: ["command", "normal", "insert"
left: line.offsetLeft, top: line.offsetTop-can.current.offset()-2,
height: line.offsetHeight, width: line.offsetWidth
}})
can.ui.current.focus(), can.ui.current.setSelectionRange(event.offsetX/13, event.offsetX/13)
// can.ui.current.focus()
can.ui.current.setSelectionRange(event.offsetX/13, event.offsetX/13)
can.page.Modify(can, can.ui.command, {className: "command "+can.mode})
},
insertLine: function(can, value, before) {