[ENH] MakeArrows-sps (resent as change set)

karl.ramberg at chello.se karl.ramberg at chello.se
Sun Aug 15 11:46:00 UTC 2004


"Change Set:		MakeArrows-sps
Date:			15 October 2003
Author:			Steven Swerling

Adds a couple of methods to StrikeFont, #makeAssignArrow and
#makeReturnArrow. These methods replace the underscore (_) and caret (^)
characters with graphic arrows, sized to fit the given StrikeFont. Also
adds TextStyle>>makeArrows, which creates arrows for every font in a
given family (if they are StrikeFonts). 

Only works on StrikeFont (on TTC fonts, it's a noop). Only useful if you
occasionally import StrikeFonts into your image.

In 3.6, try this:
  TextStyle default makeArrows.
In 3.7, try this:
  Preferences standardCodeFont textStyle makeArrows.
"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakeArrows-sps.cs.gz
Type: application/octet-stream
Size: 1008 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040815/12268e48/MakeArrows-sps.cs.obj


More information about the Squeak-dev mailing list