[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

[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 http://crbug.com/6101, 6106http://crbug.com/6106, 6108 http://crbug.com/6108, 6082 http://crbug.com/6082, and

[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 yoav.zilberb...@gmail.com 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