KeyHandler // Cout when key pressed during candidate selection state.
This commit is contained in:
parent
b00805ec30
commit
7586a25fee
|
@ -943,6 +943,8 @@ static NSString *const kGraphVizOutputfile = @"/tmp/vChewing-visualization.dot";
|
||||||
{
|
{
|
||||||
NSString *inputText = input.inputText;
|
NSString *inputText = input.inputText;
|
||||||
UniChar charCode = input.charCode;
|
UniChar charCode = input.charCode;
|
||||||
|
NSString *char2Print = [NSString stringWithCharacters:&charCode length:1];
|
||||||
|
NSLog(@"vChewingCandidateKeyDebug: %@", char2Print);
|
||||||
VTCandidateController *gCurrentCandidateController = [self.delegate candidateControllerForKeyHandler:self];
|
VTCandidateController *gCurrentCandidateController = [self.delegate candidateControllerForKeyHandler:self];
|
||||||
|
|
||||||
BOOL cancelCandidateKey = (charCode == 27) || (charCode == 8) || [input isDelete];
|
BOOL cancelCandidateKey = (charCode == 27) || (charCode == 8) || [input isDelete];
|
||||||
|
|
Loading…
Reference in New Issue