[Cuis-dev] Regression in Smalltalk editor

Juan Vuletich juan at cuis.st
Thu Nov 23 07:24:56 PST 2023

Hi Hilaire,

On 11/22/2023 12:57 PM, Hilaire Fernandes via Cuis-dev wrote:
> Hi,
> In the DrGeo smalltalk editor, I observe a regression regarding 
> styling. If there is an empty line, variable are marked red (see 
> screenshot)
> I guess it is  between these two classes I use:
> textStylerClassFor: object
>     ^ SHTextStylerST80
> editorClassFor: textGetter
>     ^SmalltalkEditor
> drgeo editor
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu

The problem is that you need your TextModel or TextProvider to answer 
false to #styleByParagraphs.

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.


Juan Vuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231123/3102196a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 57135 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231123/3102196a/attachment-0001.png>

More information about the Cuis-dev mailing list