[Cuis-dev] Fix for VectorCanvas>>#image:at:

Juan Vuletich juan at cuis.st
Thu Jun 15 13:09:18 PDT 2023


Hi Luciano,

On 6/15/2023 3:23 PM, Luciano Notarfrancesco via Cuis-dev wrote:
> Hi Juan,
>
> On Thu, 15 Jun 2023 at 19:43 Juan Vuletich <juan at cuis.st 
> <mailto:juan at cuis.st>> wrote:
>
>
>     I guess the name is not clear. It just avoids Shout Attirbutes,
>     but not Shout analizing the text as if it was source code and
>     getting confused. That's why we need the double quotes and final $.
>
>
> Oh, I see. It seems to me that it would be more useful to tag printIt 
> text as “not code” instead, and make Shout ignore it completely. It 
> could also function as “separator” between fragments of code to be 
> syntax highlighted, just like leaving two empty lines. And it would 
> make the double quotes and final dot unnecessary.

I agree. Currently the parsers take String, not Text, so I'm not sure if 
doing as you suggest is complicated or not.

As a start, I just commited a few updates that make Workspace Shout 
parsing start fresh after any empty line (i.e. a sequence of two LFs). 
Maybe this is enough. Maybe the double quotes are no longer needed. 
We'll see.

>
>     > I’m still having troubles with := and _ not being shown as
>     arrows, leaving empty
>
>     > lines between fragments of code doesn’t seem to help.
>
>     Does adding $. after the "offending code" help? Double quoting it?
>
>
> Adding $. doesn’t help, but commenting out big portions of text does 
> (it’s hard to find the exact offending text and fix it). Ideally, it 
> would be nice if syntax highlighting worked properly in workspaces 
> without requiring the user to make sure that all the text in workspace 
> compiles correctly. I’d turn off syntax highlighting in workspaces if 
> that helped, but if I do that underscores are not converted to arrows 
> anymore…

If I got right the stuff I just pushed, just an empty line should be 
enough to get left arrows for assignment and Shout attributes right. 
Please test.

BTW, You all folks telling these kinds of things out loud is extremely 
important. I have a tendency to get used to, and ignore these small 
annoyances. You all pointing at them makes me try to fix them!

Thanks,--

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/20230615/58355fca/attachment.htm>


More information about the Cuis-dev mailing list