uiservicetab/vimpstui/src/cvimpstuitermsofusedlg.cpp
branchRCL_3
changeset 10 78867dafe7eb
parent 0 5e5d6b214f4f
child 14 9fdee5e1da30
equal deleted inserted replaced
4:f5911524345e 10:78867dafe7eb
   426         charFormat.iFontSpec = font->FontSpecInTwips();
   426         charFormat.iFontSpec = font->FontSpecInTwips();
   427         charFormatMask.SetAttrib( EAttFontTypeface );
   427         charFormatMask.SetAttrib( EAttFontTypeface );
   428         charFormatMask.SetAttrib( EAttFontHeight );
   428         charFormatMask.SetAttrib( EAttFontHeight );
   429         
   429         
   430         //can't leave here
   430         //can't leave here
   431         TRAPD(err, iParaFormatLayer->SetL( &paraFormat, paraFormatMask );
   431         if( iEditor )
   432                    iCharFormatLayer->SetL( charFormat, charFormatMask );
   432         	 {
   433                    iEditor->HandleTextChangedL(); );
   433 	         TRAPD(err, iParaFormatLayer->SetL( &paraFormat, paraFormatMask );
   434         if( err != KErrNone )
   434 	                   iCharFormatLayer->SetL( charFormat, charFormatMask );
   435             {
   435 	                   iEditor->HandleTextChangedL(); );
   436             CActiveScheduler::Current()->Error( err );
   436 					 
   437             }       
   437         
   438 
   438 		        if( err != KErrNone )
       
   439 		            {
       
   440 		            CActiveScheduler::Current()->Error( err );
       
   441 		            }       
       
   442 		     }
   439         TRAP_IGNORE(iEditor->MoveDisplayL(TCursorPosition::EFPageDown) );
   443         TRAP_IGNORE(iEditor->MoveDisplayL(TCursorPosition::EFPageDown) );
   440         TRAP_IGNORE(iEditor->MoveDisplayL(TCursorPosition::EFPageDown) );
   444         TRAP_IGNORE(iEditor->MoveDisplayL(TCursorPosition::EFPageDown) );
   441         
   445         
   442         iThumbMaxPos = iEditor->ScrollBarFrame()->VerticalScrollBar()->ThumbPosition();
   446         iThumbMaxPos = iEditor->ScrollBarFrame()->VerticalScrollBar()->ThumbPosition();
   443         
   447