fep/aknfep/src/AknFepKeyCatcher.cpp
branchRCL_3
changeset 56 8152b1f1763a
parent 50 5a1685599b76
equal deleted inserted replaced
50:5a1685599b76 56:8152b1f1763a
   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 ) ) 
       
   461     	{
   460     	{
   462     	SetFlag(EFlagBlockAllLongKeyPressEvents); // block the subsequent long key press also
   461     	SetFlag(EFlagBlockAllLongKeyPressEvents); // block the subsequent long key press also
   463     	return EKeyWasNotConsumed;
   462     	return EKeyWasNotConsumed;
   464     	}
   463     	}
   465     else
   464     else