messagingappbase/msgeditor/viewsrc/MsgEditorView.cpp
branchRCL_3
changeset 28 fbb813aef148
parent 0 72b543305e3a
child 42 1367103c24e2
equal deleted inserted replaced
24:e00582ce7ecd 28:fbb813aef148
  2246     TRect lineRect = ctrl->IsReadOnly() ? ctrl->Rect() : 
  2246     TRect lineRect = ctrl->IsReadOnly() ? ctrl->Rect() : 
  2247                                           ctrl->CurrentLineRect();
  2247                                           ctrl->CurrentLineRect();
  2248 
  2248 
  2249     if ( lineRect.Height() )
  2249     if ( lineRect.Height() )
  2250         {
  2250         {
  2251         if ( lineRect.iBr.iY > iViewRect.Height() )
  2251 		if (lineRect.Height() >= iViewRect.Height())
  2252             {
  2252             {
  2253             // the view must be scrolled up.
  2253             // the view must be scrolled up.
  2254             delta = iViewRect.Height() - lineRect.iBr.iY;
  2254             delta = iViewRect.Height() - lineRect.iBr.iY;
  2255             }
  2255             }
  2256         else if ( lineRect.iTl.iY < 0 && 
  2256         else if ( lineRect.iTl.iY < 0 &&