[Cuis-dev] Bidirectional text support

David Faitelson davidf at afeka.ac.il
Mon May 8 03:24:57 PDT 2023


Dear all,

Following Juan's suggestion, I have begun working on support for presenting and editing bidirectional (left-to-right and right-to-left) text in Cuis.

You can test drive my current progress in the repository https://github.com/drdavidf/Cuis-Smalltalk-BidiText.git

Currently for this to work you need to change the implementation of Text >> withAttributeValuesDo:

Set alignment := nil instead of alignment := 0.

This change is harmless as far as I could test, but without it the default alignment for all text becomes left-to-right, even if the text is right-to-left.

I hope that later Juan will insert this change into core Cuis.

You can see how Bidi text looks and behaves by running BidiTextMorph >> example.

I think that it is best if any you create github issues for any problems you find, and any enhancements/changes/features you think should be added. This will make it easier to keep track of the progress of this work.

Cheers,
David

[cid:image001.jpg at 01D981A5.83E32A30]

Dr. David Faitelson
Head of Software Engineering School

P +972-3-7688782
M 052-6568896
www.afeka.ac.il<http://www.afeka.ac.il>







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230508/639f0365/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 39395 bytes
Desc: image001.jpg
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230508/639f0365/attachment-0001.jpg>


More information about the Cuis-dev mailing list