<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi David,<br>
<br>
This is wonderful. Thank you!<br>
<br>
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.<br>
<br>
Cheers,<br>
<br>
On 5/8/2023 7:24 AM, David Faitelson via Cuis-dev wrote:
<blockquote
cite="mid:AS4PR08MB747936D1E8825AC62CF22ED08D719@AS4PR08MB7479.eurprd08.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Dear all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You can test drive my current progress in
the repository <a moz-do-not-send="true"
href="https://github.com/drdavidf/Cuis-Smalltalk-BidiText.git">
https://github.com/drdavidf/Cuis-Smalltalk-BidiText.git</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Currently for this to work you need to
change the implementation of Text >>
withAttributeValuesDo:
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Set alignment := nil instead of alignment
:= 0. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hope that later Juan will insert this
change into core Cuis.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You can see how Bidi text looks and behaves
by running BidiTextMorph >> example.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">David<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoTableGrid" style="width: 375.4pt;
border-collapse: collapse; border: medium none;" border="0"
cellpadding="0" cellspacing="0" width="501">
<tbody>
<tr style="height: 66.15pt;">
<td style="width: 177.3pt; padding: 0cm 5.4pt; height:
66.15pt;" valign="top" width="236">
<table class="MsoTableGrid" style="width: 402.3pt;
border-collapse: collapse; border: medium none;"
border="0" cellpadding="0" cellspacing="0" width="536">
<tbody>
<tr style="height: 66.15pt;">
<td style="width: 185.85pt; padding: 0cm 5.4pt;
height: 66.15pt;" valign="top" width="248">
<p class="MsoNormal"><span style="font-size:
12pt;"><img style="width: 2.427in; height:
1.4895in;"
id="_x05ea__x05de__x05d5__x05e0__x05d4__x0020_1"
src="cid:part1.08040001.04080404@cuis.st"
border="0" height="143" width="233"></span><span
style="font-size: 9pt;"><o:p></o:p></span></p>
</td>
<td style="width: 216.45pt; padding: 0cm 5.4pt;
height: 66.15pt;" valign="top" width="289">
<p class="MsoNormal"><b><span style="font-size:
10pt; color: rgb(91, 155, 213);"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:
12pt; color: rgb(25, 190, 115);">Dr.</span></b><span
style="font-size: 12pt; color: rgb(25, 190,
115);">
<b>David Faitelson<o:p></o:p></b></span></p>
<p class="MsoNormal"><span style="font-size:
12pt;">Head of Software Engineering School<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:
12pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:
12pt;">P</span><span style="font-size:
12pt;"> +972-3-7688782<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:
12pt;">M</span><b><span style="font-size:
12pt; color: rgb(25, 190, 115);">
</span></b><span style="font-size: 12pt;">052-6568896</span><span
style="font-size: 12pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:
12pt;"><a moz-do-not-send="true"
href="http://www.afeka.ac.il"><span
style="color: windowtext;">www.afeka.ac.il</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:
8pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:
4pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:
4pt;"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:
8pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td style="width: 198.1pt; padding: 0cm 5.4pt; height:
66.15pt;" valign="top" width="264">
<p class="MsoNormal"><span style="font-size: 8pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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</pre>
</body>
</html>