[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VIM-6 - rightleft redisplay



On Fri, 07 Dec 2001 16:43:12 -0500
 "David Harrison Jr." <david at motionrealityinc dot com> wrote:
>
> Nadim Shaikli wrote:
> >
> > 2. Fix the screen_line (in screen.c) to redisplay characters from
> >    right-to-left in rightleft mode.
> >

BTW: any comment on that list sent as it relates to the tasks at hand ?

> This has me thinking that other languages could benefit from a 
> generalization of this part of the code.  Certain Asian texts are shown 
> vertically, thus we may (eventually) have a set of options that allow us 
> to have the main flow of text be either vertical or horizontal.   Within 
> each of these two modes the text could be shown one way, or the other 
> "reversed" way (i.e. top-to-bottom or bottom-to-top).
> 
> I can't even imagine how frustrating it must be for a Vim user that 
> reads vertical text to be forced to read in a horizontal direction (from 
> within Vim).  Maybe rotating the screen 90 degrees would be the easiest 
> thing to do... problem solved!  :-)

This is WAY beyond what I've set to do and I'd humbly be way overwhelmed
especially with Bidi on the way.  Furthermore, I personally have no
immediate interest in "topbottom" mode :-)  I'm certainly no expert
on top-bottom or bottom-top languages, but most allow the text to be
read in left-to-right mode (I think Chinese/Mandarin is that way).

> I notice that when I switch back and forth between rightleft and 
> norightleft mode, different Arabic "shaped words" will be displayed 
> (they are the same word, but displayed differently).  I assume that they 
> are only correct when in rightleft mode.

Yes, the only correct form is the one in "rightleft" mode.

BTW: just an FYI in case you were curious to delve into an unexplored area.

  If you enter any shaped Arabic char and try to convert to HTML
  a core-dump results.  For what its worth the same thing happens
  with hebrew in rightleft mode (with or without the new Arabic code).
  So it doesn't sound like anything that was recently added or
  introduced - thought I'd mention it.

 - Nadim


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com