[Newbies] syntaxHighlightingAsYouTypeLeftArrowAssignment
Tobias Pape
Das.Linux at gmx.de
Mon Jan 18 12:05:57 UTC 2021
Hi
> On 18. Jan 2021, at 12:50, stes at PANDORA.BE <stes at telenet.be> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
> Thanks for the feedback.
>
> Sorry for asking, yes, it works, sorry for claiming that it did NOT work.
>
> I think I just forgot to "Save" my preferences, I selected "enable"
> for those options and tried it in a Workspace and I think it didn't have
> any effect.
>
> Because the feedback confirmed that the option *is* working, I tried again ...
>
> And for some reason (maybe "Save" ?) it works now ...
>
> I had noticed in Cuis-Smalltalk that they have this nice feature,
> and I wondered whether it also exists in Squeak.
>
> So it does ... the feature 1) displays all assignments in Squeak code
> as left-arrows for me and 2) when I type in a Workspace it immediately
> displays an assignment as a left arrow.
>
> I use a TrueType font that I have found on the net,
> which displays the underscore as a left-arrow.
>
> I configured that font as my "code font" in the appearances menu.
>
> As Tobias Pape points out special TrueType fonts are *not* required as Squeak
> has the machinery to swap the glyphs.
>
> However there are a few fonts on the net that have old encodings for the
> glyphs for up-arrow and left-arrow.
>
> However the solution that Tobias Pape mentions is better, as no special font,
> is then required.
>
> Perhaps a small advantage of using a special font is that the special font,
> can also work in editors outside Squeak.
Maybe using ← and ↑ could simply be used directly?
-t
More information about the Beginners
mailing list