[chromium-dev] a JavaScript question: How to convert mouse coordinates into character offset

2009-07-06 Thread Xiaomei Ji
(I've send this question to webkit-dev mailing list, but have not got any responses yet). I am trying to write a JavaScript in Chrome to find the word user moused over, which needs to convert the mouse coordination (x,y) into character offset. I know FireFox supports event.rangeOffset, which is t

[chromium-dev] [Windows CRichEditCtrl] question on parenthesis handling in right-to-Left CRichEditCtrl

2009-07-02 Thread Xiaomei Ji
For RTL locales, our current layout of omnibox and textfield are left-to-right, which is not right, and there are 5 bugs related to this wrong layout (issue 6101 , 6106, 6108 , 6082 , and 10931

[chromium-dev] Re: a brave new world for RTL languages (please comment)

2009-06-02 Thread Xiaomei Ji
Hi Yoav, On Tue, Jun 2, 2009 at 12:42 PM, nakro wrote: > > *sigh* i wrote such a splendid reply but chrome entered one of > his moods and refused to pop out of the taskbar > > here is the much shorter version : > tell your friend at FF that at least on 3.0.10 the Ctrl+right shift do > n

[chromium-dev] a brave new world for RTL languages (please comment)

2009-06-02 Thread Xiaomei Ji
Hi Yoav, Thanks for looking into making Chrome works better in RTL languages. I agree with Jeremy, if you think Chrome does not work correctly in some of the cases, it would be nice to file bugs (please search the existing bugsfirst