Steve
07/21/2021, 10:50 AMAlexander Kurasov[JB]
07/21/2021, 6:06 PMSteve
07/21/2021, 7:39 PMLocalAppWindow.current.keyboard.setShortcut(Key.Tab){
println("tab pressed")
model.focusNext()
}
and in the following code is triggered by pressing CTRL and Z
val key: Key = if(System.getProperty("os.name") == "Mac OS X") Key.MetaLeft else Key.CtrlLeft
LocalAppWindow.current.keyboard.setShortcut(KeysSet(setOf(key, Key.Z))){
model.getCurrentFocusedAttribute()?.undo()
}