textinput/peninputfingerhwr/src/peninputfingerhwrwnd.cpp
branchRCL_3
changeset 11 c8fb4cf7b3ae
parent 9 e6a39382bb9c
child 12 5e18d8c489d6
equal deleted inserted replaced
9:e6a39382bb9c 11:c8fb4cf7b3ae
   496 // accept editor's input language.
   496 // accept editor's input language.
   497 // ---------------------------------------------------------------------------
   497 // ---------------------------------------------------------------------------
   498 //
   498 //
   499 void CPeninputFingerHwrWnd::SetInputLanguage( const TInt aLanguageId )
   499 void CPeninputFingerHwrWnd::SetInputLanguage( const TInt aLanguageId )
   500     {
   500     {
       
   501 	if ( iContextField )
       
   502 		{
       
   503 		iContextField->SetLanguageId( aLanguageId );
       
   504 		}
       
   505 	
   501     // special punctuations
   506     // special punctuations
   502     const TInt KSpecialPuncPos[] = { 14, 15 };
   507     const TInt KSpecialPuncPos[] = { 14, 15 };
   503     const TInt KSpecialChsPunc[] = { 0x300A, 0x300B };
   508     const TInt KSpecialChsPunc[] = { 0x300A, 0x300B };
   504     const TInt KSpecialChtPunc[] = { 0x300C, 0x300D };
   509     const TInt KSpecialChtPunc[] = { 0x300C, 0x300D };
   505 
   510