Hi On Sun, 3 Feb 2002, Lars Knoll wrote:
> > > On Sun, 3 Feb 2002, Lars Knoll wrote: > > > > > I hate it when libraries try to second-guess the users. > > > > > > > > > > How would you align the translation of the sentence "QT/KDE doesn't > > > > > support hebrew the same as Windows does."? > > > > > > > > > > Will there be a way for the user to override this? > > > > > > > >I think you can override it if you program your text box to be > > > > automatically right aligned. not sure > > > > > > Unicode defines some special characters for this. one of them iscalled > > > "right to left mark" (0x200f) and does exactly what you want if you add > > > it at the beginning of the line. > > > > But the context here is the whole text (maybe wrap it with <RLE>...<PDF>?). > > Also note that adding such a mark actually changes the text, whereas the > > feature in question is regarding how the program displays the text Consider a common use of a text editor as a text files viewer. I would like to be able to view a document, and to change the base directionality, without this causing the text editor to ask me "do you want to save your changes" when I finish "viewing" the document: I never wanted to change the text, only the way it is currently displayed on my screen. > > No quite true. If you have autodetection, the context is taken from the first > character that has a strong directionality (in this case the RLM). The context is "guessed" from the first character with strong directionality only if no external context is assumed. > > > (e.g:if this method is used, the text might eventually begin with > > <LRM><RLM><LRM><RLM>... ;-) ) > > That's easy to avoid in an editor ;-) Yes, but I would rather that the editor won't change the text if not necessary (e.g: sometimes you really need to fix the direction implicitly in the text. One example for that is a mail message, since its text has no external context. I usually set the directionality by using either a hebrew or an english "Hi"). But in most cases I believe that such an implicit base direction should not be saved. -- Tzafrir Cohen /"\ mailto:[EMAIL PROTECTED] \ / ASCII Ribbon Campaign Taub 229, 972-4-829-3942, X Against HTML Mail 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]
