emailuis/emailui/src/ncssubjectfield.cpp
branchRCL_3
changeset 16 b5fbb9b25d57
parent 14 b13141f05c3d
child 23 dcf0eedfc1a3
--- a/emailuis/emailui/src/ncssubjectfield.cpp	Tue Apr 27 16:20:14 2010 +0300
+++ b/emailuis/emailui/src/ncssubjectfield.cpp	Tue May 11 15:57:15 2010 +0300
@@ -600,9 +600,10 @@
 void CNcsSubjectField::EnableKineticScrollingL(CAknPhysics*  aPhysics)
     {
     iTextEditor->EnableKineticScrollingL(aPhysics);
+    iTextEditor->TextLayout()->RestrictScrollToTopsOfLines( ETrue );
     }
 
-void CNcsSubjectField::SetCursorVisible( TBool aCursorVisible )
+void CNcsSubjectField::SetPhysicsEmulationOngoing( TBool aPhysOngoing )
     {
-    iTextEditor->SetCursorVisible( aCursorVisible );
+    iTextEditor->SetPhysicsEmulationOngoing( aPhysOngoing );
     }