The Trunk: Collections-dtl.302.mcz

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

The Trunk: Collections-dtl.302.mcz

commits-2
David T. Lewis uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-dtl.302.mcz

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

Name: Collections-dtl.302
Author: dtl
Time: 12 February 2010, 12:02:33.051 am
UUID: 750753ed-971a-43db-b071-570a3cca5b14
Ancestors: Collections-dtl.301

Eliminate explicit Transcripter dependency on MVC Paragraph. Note that Transcripter currently lacks a Morphic view.

=============== Diff against Collections-dtl.301 ===============

Item was changed:
  ----- Method: Transcripter>>initInFrame: (in category 'initialization') -----
  initInFrame: rect
  frame := rect insetBy: 2.  "Leave room for border"
+ (Smalltalk hasClassNamed: #Paragraph)
+ ifFalse: [^ self inform: 'MVC class Paragraph not present'].
+ para := (Smalltalk at: #Paragraph) withText: self contents asText
- para := Paragraph withText: self contents asText
  style: TextStyle default
  compositionRectangle: ((frame insetBy: 4) withHeight: 9999)
  clippingRectangle: frame
  foreColor: self black backColor: self white!