[Newbies] syntaxHighlightingAsYouTypeLeftArrowAssignment

stes@PANDORA.BE stes at telenet.be
Mon Jan 18 11:50:27 UTC 2021


-----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.

Regards,
David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJgBXWhAAoJEAwpOKXMq1MasKkIAJX1zzIEH8U22rvsBq2zBjNo
iEWCGsQV0rajWKeB3doMsC+eb+/SMu1B6Taucs/0vnZfHTK6Zlcm0eXBBqLzgp33
ibN0yJmrxsCUM7MPB9vQfKIvYi5gLg+wB0uqQF0aMH6xNW6n4IDKiKL+jn3hJQAo
HrMfCIKn8J+/dSst5xQOs36Skg8Gc+1gZb0TaU/DUdNftPaAJGAMfC2CIJ6SAOQX
Z/M705jhcTl1zZNP1uvg9s5SV2ZAuT+/gI0asbgsMikSpktIj66H0lNcTFPBvsns
vpLEp/sRegUgeJIuxiVn2q3dwjcQNcvC0gkHjxWgr5rwa7xQArNo9MaDhgtCIYo=
=ezi0
-----END PGP SIGNATURE-----


More information about the Beginners mailing list