Also uses the backspace key to cancel candidate in smart BPMF mode.
Going and Chewing also use backspace to do this.
This commit is contained in:
parent
c3304bc5f7
commit
464a54f98a
|
@ -833,8 +833,7 @@ static NSString *const kGraphVizOutputfile = @"/tmp/McBopomofo-visualization.dot
|
|||
UniChar charCode = input.charCode;
|
||||
VTCandidateController *gCurrentCandidateController = [self.delegate candidateControllerForKeyHandler:self];
|
||||
|
||||
BOOL cancelCandidateKey = (charCode == 27) || [input isDelete] ||
|
||||
((_inputMode == kPlainBopomofoModeIdentifier) && (charCode == 8));
|
||||
BOOL cancelCandidateKey = (charCode == 27) || (charCode == 8) || [input isDelete];
|
||||
|
||||
if (cancelCandidateKey) {
|
||||
if (_inputMode == kPlainBopomofoModeIdentifier) {
|
||||
|
|
Loading…
Reference in New Issue