Mantis - Squeak
Viewing Issue Advanced Details
1619 Graphics minor always 08-05-05 18:28 08-27-05 20:15
KenCausey  
 
normal  
closed  
open  
none    
none 3.9  
0001619: [ENH] MakeArrows-sps (resent as change set)
Steven Swerling <sps2000@mail.com>

"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.
"
child of 0006432new  In some methods assignment shows as underscores. This needs to be fixed. 
 MakeArrows-sps.cs.gz [^] (1,008 bytes) 08-05-05 18:28

Notes
(0002163)
KenCausey   
08-05-05 18:29   
karl.ramberg@chello.se:

"[er] looks good"
(0002164)
KenCausey   
08-05-05 18:33   
I loaded this changeset into 3.8-6665-basic without errors but did not test further.
(0002548)
MarcusDenker   
08-27-05 20:11   
added to 3.9