Hi David.
I wonder whether it's possible to display the assignment operator '_' underscore as Left Arrow.
Well, the original font rendered the underscore character ("_") as a left arrow. One could still extend Shout to add a special text attribute to either "_" or ":=" to change to a font that has such a property. Maybe take a look at FormSetFont and the example in FormInspector >> #embedForm:inText:.
Of course, you could directly change the system's code font to one that renders all "_" as a left arrow, regardless of the context.
Note that it might be confusing for some users to see a left arrow as a single entity while actually having to type ":" and "=".
Also note that we removed all underscore assignments ("_") from Squeak's Trunk repository. For good. :-)
Best, Marcel Am 16.01.2021 17:03:31 schrieb stes@PANDORA.BE stes@telenet.be: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi,
Platform: squeak 4.19.5 with Squeak 4.6 or squeak 5.x with Squeak 6.0alpha
I wonder whether it's possible to display the assignment operator '_' underscore as Left Arrow.
"Cuis-Smalltalk" is doing this, looks very nice.
I've found something on wiki.squeak.org :
syntaxHighlightingAsYouTypeLeftArrowAssignment
in preferences.
Go to Menu -> Tools -> Preferences (or Menu -> Apps -> Preferences Browser)
Search : syntaxHighlightingAsYouType
(it's under "browsing')
enabled
syntaxHighlightingAsYouTypeLeftArrowAssignment
enabled
does not work : do I need "Shout"
http://wiki.squeak.org/squeak/5700
is Shout still working in 4.6 ?
I have the impression from the wiki.squeak.org page that there existed a package to display '_' as left-arrow but not sure whether it is still there.
David Stes
_______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners