javauis/lcdui_akn/lcdui/src/CMIDTextEditorEdwin.cpp
branchRCL_3
changeset 24 0fd27995241b
parent 19 04becd199f91
child 25 9ac0a0a7da70
--- a/javauis/lcdui_akn/lcdui/src/CMIDTextEditorEdwin.cpp	Fri Apr 30 10:40:48 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/src/CMIDTextEditorEdwin.cpp	Tue May 11 16:07:20 2010 +0300
@@ -257,11 +257,6 @@
     // Part of transparency workaround. Set drawing not active.
     iDrawInvoked = EFalse;
 
-    if (iObserver)
-    {
-        iObserver->NotifyInputAction(
-            MMIDTextEditorObserver::EActionPaintRequest);
-    }
     DEBUG("CMIDTextEditorEdwin::Draw -");
 }
 
@@ -530,6 +525,7 @@
 //
 void CMIDTextEditorEdwin::HandleResourceChange(TInt aType)
 {
+    CCoeControl::HandleResourceChange(aType);
     // Notification about language change
     if (aType == KEikInputLanguageChange)
     {
@@ -584,8 +580,7 @@
             // Check if cursor has moved. This must be done because
             // currently edwin does not report cursor position movement
             // when text is changed due to user input.
-            if ((iVisibleContentHeight != newVisiblecontentHeight) &&
-                    (iCursorPosForAction != CursorPos()))
+            if (iVisibleContentHeight != newVisiblecontentHeight)
             {
                 event |= MMIDTextEditorObserver::EActionScrollbarChange;
                 // Reported, reset here to avoid multiple notifications.