<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hilaire,<br>
<br>
On 11/22/2023 12:57 PM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:ad749e93-11b0-4b0e-8cb3-0449259a5da4@free.fr"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="4">Hi, <br>
</font></p>
<p><font size="4">In the DrGeo smalltalk editor, I observe a
regression regarding styling. If there is an empty line,
variable are marked red (see screenshot)<br>
</font></p>
<p><font size="4">I guess it is between these two classes I use:<br>
</font></p>
<p><font size="4">textStylerClassFor: object<br>
^ SHTextStylerST80 <br>
</font></p>
<p><font size="4">editorClassFor: textGetter<br>
^SmalltalkEditor<br>
</font></p>
<p><font size="4"><br>
</font></p>
<img moz-do-not-send="false"
src="cid:part1.03040801.05060800@cuis.st" alt="drgeo editor"
height="483" width="360">
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
The problem is that you need your TextModel or TextProvider to
answer false to #styleByParagraphs.<br>
<br>
Hack #stileByParagraphs a bit to see. I don't have a recent DrGeo to
try, so I don't know if your TextModel is a Workspace or something
else. If this hint is not enough, please send a link to a recent
DrGeo image and I'll take a look.<br>
<br>
Cheers,<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>