diff -r bd83ceabce89 -r 5a1685599b76 fep/aknfep/src/AknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase.cpp --- a/fep/aknfep/src/AknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase.cpp Tue Sep 14 21:59:06 2010 +0300 +++ b/fep/aknfep/src/AknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase.cpp Wed Sep 15 12:34:44 2010 +0300 @@ -30,6 +30,7 @@ #include #include #include //CAknWarningNote +#include "AknFepUiManagerBase.h" const TInt KMinCandidateCount = 1; // User includes @@ -42,6 +43,7 @@ #include "AknFepUIManagerStateInterface.h" #include "AknFepManager.h" #include +#include "AknFepUiManagerChinese.h" // --------------------------------------------------------------------------- // AknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase:: @@ -206,11 +208,21 @@ { if ( CheckFirstGroupStroke() ) { + //stroke to be shown + if ( iPlugin.IsEnable()) + { + iPlugin.AnalyseL(); + } RefreshUI( EFalse ); UIContainer()->CandidatePane()->SelectFirstPhrase(); } else { + //stroke to be shown + if ( iPlugin.IsEnable()) + { + iPlugin.AnalyseL(); + } UIContainer()->EditPaneWindow()->SetAutoChangeStateFlag( EAutoChangeStateFromCandidate ); iOwner->ChangeState( EMiniQwertyEdit ); } @@ -278,5 +290,36 @@ break; } } - +void TAknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase::SubmitTextL( const TDesC& aText ) + { + if ( aText.Length() ) + { + if ( !CommitInlineEEPL( aText ) ) + { + DoActionAfterCommit(); + } + else + { + if ( CheckFirstGroupStroke() ) + { + //stroke to be shown + if ( iPlugin.IsEnable()) + { + iPlugin.AnalyseL(); + } + RefreshUI( EFalse ); + UIContainer()->CandidatePane()->SelectFirstPhrase(); + } + else + { + if ( iPlugin.IsEnable()) + { + iPlugin.AnalyseL(); + } + UIContainer()->EditPaneWindow()->SetAutoChangeStateFlag( EAutoChangeStateFromCandidate ); + iOwner->ChangeState( EMiniQwertyEdit ); + } + } + } + } // End of file