fep/aknfep/src/AknFepUiInputStateEntryThaiPredictive.cpp
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
child 56 8152b1f1763a
--- a/fep/aknfep/src/AknFepUiInputStateEntryThaiPredictive.cpp	Tue Sep 14 21:59:06 2010 +0300
+++ b/fep/aknfep/src/AknFepUiInputStateEntryThaiPredictive.cpp	Wed Sep 15 12:34:44 2010 +0300
@@ -111,7 +111,29 @@
             }
         else
             {
-            response = HandleStandardNumericKeysL(aKey, aLength);
+			MAknFepManagerUIInterface* fepMan = iOwner->FepMan();
+			TBool isInlineStateOn = EFalse;
+			TBool isInNoMatchState = EFalse;
+			
+			if ( fepMan )
+				{
+			    // Get the editor Inline state
+				isInlineStateOn = fepMan->IsFlagSet( 
+						CAknFepManager::EFlagInsideInlineEditingTransaction );
+				// Get the editor No Matches state
+				isInNoMatchState = fepMan->IsFlagSet( 
+						CAknFepManager::EFlagNoMatches );
+				}
+			
+			// If editor is in inline state and no candidate words are matched
+			if ( isInlineStateOn && isInNoMatchState )
+				{
+				response = HandleStarKeyL( aLength );
+				}
+			else
+				{
+				response = HandleStandardNumericKeysL( aKey, aLength );
+				}
             }
         break;
     case EKeyDownArrow: