On Sat, 31 Aug 2002, Ilya Konstantinov wrote: > Hi, > > I've coded up some simple key bindings for Mozilla to allow switching > the direction of the input box, just like (Left/Right)Ctrl-Shift > does in Windows / Qt. > > Get it from: > http://toast.unwind.co.il/hacks/mozBidiBindings.tar.gz > (installation instructions inside) > > Unfortunately I was unable to use the familiar (Left/Right)Ctrl-Shift > keys, since its impossible to attach events to them in Mozilla (a bug?) > so I've used the following keys: > > Ctrl-; for left-to-right. > Ctrl-' for right-to-left. > > In regular text boxes (on web pages, the GUI, Chatzilla ...), you would > switch the directionality of the whole input box. > > In the Composer / Mail Composer, you'd switch the directionality of the > paragraph (or table cell, or list item) your cursor is on. This > directionality would be preserved in the resulting HTML / mail message > (in case you send it as HTML).
What about text messages? Is it possible to force directionality by beggning a document/paragraph with RLM/LRM ? Is it wise? > > Of course, I'd still like to see this bug resolved :) > http://bugzilla.mozilla.org/show_bug.cgi?id=96057 Can anybody list here the UI-related bidi bugs in the bugzilla? Is it possible to distribute a "bidi mozilla" patch that will include them all for the purpose of testing? > One feature I'd like to add myself, or have one of you add, is to allow > making a whole selection Left-to-right or Right-to-left. What for? For visual Hebrew? > That'll > require some more work and the use of LRE / RLE Unicode control > characters, as well as getting more familiar with Composer's selections > API. If you want to explore the API further, Mozilla's DOM Inspector > and JavaScript Debugger are very helpful (that's how I did it). -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]