The Trunk: Graphics-nice.107.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-nice.107.mcz

commits-2
Nicolas Cellier uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-nice.107.mcz

==================== Summary ====================

Name: Graphics-nice.107
Author: nice
Time: 23 February 2010, 5:30:23.911 pm
UUID: 759068f2-a772-7346-8a2f-76ee515b9f8c
Ancestors: Graphics-dtl.106

Let 1@(-2) print with a space 1@ -2 in order to avoid ambiguous @- construct.

=============== Diff against Graphics-dtl.106 ===============

Item was changed:
  ----- Method: Point>>printOn: (in category 'printing') -----
  printOn: aStream
  "The receiver prints on aStream in terms of infix notation."
 
  x printOn: aStream.
  aStream nextPut: $@.
+ y negative ifTrue: [
+ "Avoid ambiguous @- construct"
+ aStream space].
  y printOn: aStream!