fep/aknfep/src/AknFepKeyCatcher.cpp
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
child 56 8152b1f1763a
equal deleted inserted replaced
46:bd83ceabce89 50:5a1685599b76
   454 	// (it is not for eg. a simulated key press for case change)
   454 	// (it is not for eg. a simulated key press for case change)
   455 	// we are not in between multitapping
   455 	// we are not in between multitapping
   456 	// block the subsequent long key press also	
   456 	// block the subsequent long key press also	
   457 	if ( length == EShortKeyPress && !iFepMan.EditorHasFreeSpace() 
   457 	if ( length == EShortKeyPress && !iFepMan.EditorHasFreeSpace() 
   458 		&& iFepMan.PtiEngine()->IsValidKey((TPtiKey)aKeyEvent.iScanCode)   
   458 		&& iFepMan.PtiEngine()->IsValidKey((TPtiKey)aKeyEvent.iScanCode)   
   459 		&& !iFepMan.IsFlagSet(CAknFepManager::EFlagInsideMultitapInlineEditingTransaction) ) 
   459 		&& !iFepMan.IsFlagSet(CAknFepManager::EFlagInsideMultitapInlineEditingTransaction)
       
   460         && (iFepMan.InputMode() != EHangul ) ) 
   460     	{
   461     	{
   461     	SetFlag(EFlagBlockAllLongKeyPressEvents); // block the subsequent long key press also
   462     	SetFlag(EFlagBlockAllLongKeyPressEvents); // block the subsequent long key press also
   462     	return EKeyWasNotConsumed;
   463     	return EKeyWasNotConsumed;
   463     	}
   464     	}
   464     else
   465     else