InputHandler // Allow jumping from candidate state to marking state.
This commit is contained in:
parent
07a365412f
commit
a61d95339b
|
@ -43,6 +43,9 @@ extension InputHandler {
|
||||||
delegate.switchState(IMEState.ofAbortion())
|
delegate.switchState(IMEState.ofAbortion())
|
||||||
} else {
|
} else {
|
||||||
delegate.switchState(generateStateOfInputting())
|
delegate.switchState(generateStateOfInputting())
|
||||||
|
if input.isCursorBackward || input.isCursorForward, input.isShiftHold {
|
||||||
|
return handleInput(event: input)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if state.type == .ofSymbolTable, let nodePrevious = state.node.previous, !nodePrevious.members.isEmpty {
|
if state.type == .ofSymbolTable, let nodePrevious = state.node.previous, !nodePrevious.members.isEmpty {
|
||||||
delegate.switchState(IMEState.ofSymbolTable(node: nodePrevious))
|
delegate.switchState(IMEState.ofSymbolTable(node: nodePrevious))
|
||||||
|
|
Loading…
Reference in New Issue