diff -r bd83ceabce89 -r 5a1685599b76 fep/aknfep/src/AknFepUIInputStateEntryMiniQwertyCangJie.cpp --- a/fep/aknfep/src/AknFepUIInputStateEntryMiniQwertyCangJie.cpp Tue Sep 14 21:59:06 2010 +0300 +++ b/fep/aknfep/src/AknFepUIInputStateEntryMiniQwertyCangJie.cpp Wed Sep 15 12:34:44 2010 +0300 @@ -162,7 +162,6 @@ { if ( candidatePane->VisibleCandidateCount() != 1 ) { - iOwner->ChangeState( ECandidate ); candidatePane->SelectNext(); UpdateIndicator(); } @@ -171,8 +170,7 @@ { if ( candidatePane->VisibleCandidateCount()!= 1 ) { - iOwner->ChangeState( ECandidate ); - candidatePane->SelectLastPhrase(); + candidatePane->SelectPrev(); UpdateIndicator(); } } @@ -260,4 +258,24 @@ break; } } +void TAknFepInputStateEntryMiniQwertyCangJie::SubmitTextL( const TDesC& aText ) + { + MAknFepManagerUIInterface* fepMan = iOwner->FepMan( ); + if ( aText.Length( ) ) + { + fepMan->NewTextL( aText ); + fepMan->CommitInlineEditL( ); + iOwner->PtiEngine()->SetPredictiveChineseChar( aText ); + if ( fepMan->IsFlagSet( CAknFepManager::EFlagEditorFull ) ) + { + fepMan->ClearFlag( CAknFepManager::EFlagEditorFull ); + iOwner->FepMan()->TryCloseUiL( ); + } + else + { + iOwner->ChangeState( EPredictiveCandidate ); + } + } + } + // End of file