[Cuis-dev] Bidirectional text support

Juan Vuletich juan at cuis.st
Mon May 8 08:01:38 PDT 2023


Hi David,

This is wonderful. Thank you!

I still could not look at it in detail, but I can say that the change 
you need in #withAttributeValues:do: is harmless. I have already pushed 
it to GitHub.

Cheers,

On 5/8/2023 7:24 AM, David Faitelson via Cuis-dev wrote:
>
> 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
>
> 	
>
> **
>
> *Dr.**David Faitelson*
>
> Head of Software Engineering School
>
> P+972-3-7688782
>
> M**052-6568896
>
> www.afeka.ac.il <http://www.afeka.ac.il>
>
> 	
>


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

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


More information about the Cuis-dev mailing list