fep/aknfep/src/AknFepUiInputStateEntryThaiPredictive.cpp
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
child 56 8152b1f1763a
equal deleted inserted replaced
46:bd83ceabce89 50:5a1685599b76
   109             {
   109             {
   110             response = HandleStarKeyL(aLength);
   110             response = HandleStarKeyL(aLength);
   111             }
   111             }
   112         else
   112         else
   113             {
   113             {
   114             response = HandleStandardNumericKeysL(aKey, aLength);
   114 			MAknFepManagerUIInterface* fepMan = iOwner->FepMan();
       
   115 			TBool isInlineStateOn = EFalse;
       
   116 			TBool isInNoMatchState = EFalse;
       
   117 			
       
   118 			if ( fepMan )
       
   119 				{
       
   120 			    // Get the editor Inline state
       
   121 				isInlineStateOn = fepMan->IsFlagSet( 
       
   122 						CAknFepManager::EFlagInsideInlineEditingTransaction );
       
   123 				// Get the editor No Matches state
       
   124 				isInNoMatchState = fepMan->IsFlagSet( 
       
   125 						CAknFepManager::EFlagNoMatches );
       
   126 				}
       
   127 			
       
   128 			// If editor is in inline state and no candidate words are matched
       
   129 			if ( isInlineStateOn && isInNoMatchState )
       
   130 				{
       
   131 				response = HandleStarKeyL( aLength );
       
   132 				}
       
   133 			else
       
   134 				{
       
   135 				response = HandleStandardNumericKeysL( aKey, aLength );
       
   136 				}
   115             }
   137             }
   116         break;
   138         break;
   117     case EKeyDownArrow:
   139     case EKeyDownArrow:
   118         response = HandleDownKeyL();
   140         response = HandleDownKeyL();
   119         break;
   141         break;