messagingappbase/msgeditor/viewsrc/MsgEditorKeyCatcher.cpp
branchRCL_3
changeset 28 fbb813aef148
parent 0 72b543305e3a
equal deleted inserted replaced
24:e00582ce7ecd 28:fbb813aef148
   102     if ( aType == EEventKey )
   102     if ( aType == EEventKey )
   103         {
   103         {
   104         // All printable characters except # which means user is changing case.
   104         // All printable characters except # which means user is changing case.
   105         // SCT of address control contains less characters, however.
   105         // SCT of address control contains less characters, however.
   106         // There is a drawback here: pressing cancel in SCT still may add delimiters.
   106         // There is a drawback here: pressing cancel in SCT still may add delimiters.
   107         if ( aKeyEvent.iCode >= 32 &&
   107         if(aKeyEvent.iCode == ';')
   108             aKeyEvent.iCode <= 255 &&
   108           {
   109             aKeyEvent.iCode != '#' )
   109         	return EKeyWasNotConsumed;
   110             {
   110           }
       
   111         else if ( aKeyEvent.iCode >= 32 && aKeyEvent.iCode <= 255 &&
       
   112 	          aKeyEvent.iCode != '#')
       
   113           {
   111             iEditor->PreInsertEditorFormattingL( aKeyEvent );
   114             iEditor->PreInsertEditorFormattingL( aKeyEvent );
   112             return EKeyWasNotConsumed;
   115             return EKeyWasNotConsumed;
   113             }
   116             }
   114         }
   117         }
   115 
   118