equal
deleted
inserted
replaced
160 } |
160 } |
161 else if( aKey == EStdKeyRightArrow ) |
161 else if( aKey == EStdKeyRightArrow ) |
162 { |
162 { |
163 if ( candidatePane->VisibleCandidateCount() != 1 ) |
163 if ( candidatePane->VisibleCandidateCount() != 1 ) |
164 { |
164 { |
165 iOwner->ChangeState( ECandidate ); |
|
166 candidatePane->SelectNext(); |
165 candidatePane->SelectNext(); |
167 UpdateIndicator(); |
166 UpdateIndicator(); |
168 } |
167 } |
169 } |
168 } |
170 else if ( aKey == EStdKeyLeftArrow ) |
169 else if ( aKey == EStdKeyLeftArrow ) |
171 { |
170 { |
172 if ( candidatePane->VisibleCandidateCount()!= 1 ) |
171 if ( candidatePane->VisibleCandidateCount()!= 1 ) |
173 { |
172 { |
174 iOwner->ChangeState( ECandidate ); |
173 candidatePane->SelectPrev(); |
175 candidatePane->SelectLastPhrase(); |
|
176 UpdateIndicator(); |
174 UpdateIndicator(); |
177 } |
175 } |
178 } |
176 } |
179 else if(aLength == EShortKeyPress && iOwner->IsValidChineseInputKeyQwerty(aKey)) |
177 else if(aLength == EShortKeyPress && iOwner->IsValidChineseInputKeyQwerty(aKey)) |
180 { |
178 { |
258 default: |
256 default: |
259 TAknFepInputStateChineseBase::HandleCommandL( aCommandId ); |
257 TAknFepInputStateChineseBase::HandleCommandL( aCommandId ); |
260 break; |
258 break; |
261 } |
259 } |
262 } |
260 } |
|
261 void TAknFepInputStateEntryMiniQwertyCangJie::SubmitTextL( const TDesC& aText ) |
|
262 { |
|
263 MAknFepManagerUIInterface* fepMan = iOwner->FepMan( ); |
|
264 if ( aText.Length( ) ) |
|
265 { |
|
266 fepMan->NewTextL( aText ); |
|
267 fepMan->CommitInlineEditL( ); |
|
268 iOwner->PtiEngine()->SetPredictiveChineseChar( aText ); |
|
269 if ( fepMan->IsFlagSet( CAknFepManager::EFlagEditorFull ) ) |
|
270 { |
|
271 fepMan->ClearFlag( CAknFepManager::EFlagEditorFull ); |
|
272 iOwner->FepMan()->TryCloseUiL( ); |
|
273 } |
|
274 else |
|
275 { |
|
276 iOwner->ChangeState( EPredictiveCandidate ); |
|
277 } |
|
278 } |
|
279 } |
|
280 |
263 // End of file |
281 // End of file |