Tony Mechelynck <[email protected]> wrote:
> I haven't (yet?) unzipped the attachment, but if all shapes of all  
> letters (even not including harakat), plus both shapes of laam-alif  
> (which may be regarded as composed but is still used even in  
> non-vocalized text), have to be included, it would have to be several  
> times longer than "the quick brown fox jumps over the lazy dog". Still  
> manageable, of course, if cleverly contrived.

That's why I preferred not to use a table based testing.  Put an
arbitrary long text in the "input" file; it will probably contain most
possible combinations.

Also note that the mainline arabic.[hc] (and the new one) does not
handle all laa-like combinations (just have a look at LIGATURE chars in
UnicodeData.txt or a character viewer).  And not doing any of them
doesn't make the writing wrong; it merely makes it bad looking.  So if
it was up to me, I would have even removed laa handling completely for a
few reasons:

* in a mono-spaced font I don't think that will help the text look
  much better
* when they are present editing is harder; backspace removes all of the
  combined letters
* currently laa is handles as a special case and that makes the code
  look worse
* I think it is better either to support all or none of them

Just my opinion... Anyway, the new version preserve the old behavior.

        Ali

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui