mirror of
https://shylinux.com/x/volcanos
synced 2025-05-03 11:57:01 +08:00
opt some
This commit is contained in:
parent
5eaad3df1d
commit
29a16c4043
@ -283,7 +283,8 @@ Volcanos("onkeymap", {help: "键盘交互", list: ["command", "normal", "insert"
|
|||||||
left: line.offsetLeft, top: line.offsetTop-can.current.offset()-2,
|
left: line.offsetLeft, top: line.offsetTop-can.current.offset()-2,
|
||||||
height: line.offsetHeight, width: line.offsetWidth
|
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})
|
can.page.Modify(can, can.ui.command, {className: "command "+can.mode})
|
||||||
},
|
},
|
||||||
insertLine: function(can, value, before) {
|
insertLine: function(can, value, before) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user