Changeset 17625 in webkit


Ignore:
Timestamp:
Nov 6, 2006 12:20:12 PM (17 years ago)
Author:
spadma
Message:

2006-11-06 yaharon <yael.aharon@nokia.com>

Reviewed by Sachin.
DESC: Place curet under the cursor position when activating an input box
http://bugs.webkit.org/show_bug.cgi?id=11533

  • BrowserCore/Formcontrols/src/FControlInputWidget.cpp: (CControlInputWidget::SetCursorPositionL):
Location:
S60/trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebKit/BrowserCore/Formcontrols/src/FControlInputWidget.cpp

    r16969 r17625  
    12721272    else
    12731273      {
    1274       TInt nCharAtPos = iFont.TextCount(aText, pos.iX);
     1274      TRect rect = iEditor->Rect();
     1275      TInt nCharAtPos = iFont.TextCount(aText, pos.iX - rect.iTl.iX);
    12751276      iEditor->SetCursorPosL(nCharAtPos, EFalse);
    12761277      iLastCurPos = nCharAtPos;   
  • S60/trunk/WebKit/ChangeLog

    r17624 r17625  
     12006-11-06  yaharon  <yael.aharon@nokia.com>
     2
     3        Reviewed by Sachin.
     4        DESC: Place curet under the cursor position when activating an input box
     5        http://bugs.webkit.org/show_bug.cgi?id=11533
     6
     7        * BrowserCore/Formcontrols/src/FControlInputWidget.cpp:
     8        (CControlInputWidget::SetCursorPositionL):
     9
    1102006-11-06  yaharon  <yael.aharon@nokia.com>
    211
Note: See TracChangeset for help on using the changeset viewer.