[squeak-dev] The Trunk: MorphicExtras-ct.331.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 25 14:39:19 UTC 2022

Christoph Thiede uploaded a new version of MorphicExtras to project The Trunk:

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

Name: MorphicExtras-ct.331
Author: ct
Time: 25 August 2022, 4:39:16.167239 pm
UUID: b66bddb0-2819-6f4f-87e4-fd76c3c16073
Ancestors: MorphicExtras-ct.330

Slightly revises Workspace examples.

=============== Diff against MorphicExtras-ct.330 ===============

Item was changed:
  ----- Method: Workspace class>>extraExample2 (in category '*MorphicExtras-examples') -----
  	"ToolBuilder open: Workspace extraExample2"
  	^ self new
  		contents: (((self class sourceCodeAt: #extraExampleContents2)
  			asString lines allButFirst: 3)
  				joinSeparatedBy: Character cr);
+ 		shouldStyle: true;

Item was changed:
  ----- Method: Workspace class>>extraExampleContents1 (in category '*MorphicExtras-examples') -----
  	"This is example code for #extraExample1"
+ "Run each of the following lines by selecting it and pressing <cmd>d"
- "Run the following lines by pressing <cmd>d:"
  Transcript showln: 'Hello world!!'.
  self inform: 'This is a dialog box. Quite easy, isn''t it?'.
  "Print the result of an expression using <cmd>p"
  6 * 7.
  Float pi i exp stringForReadout.
  (16 factorial + 1) isPrime.
  (Smalltalk allClasses gather: #selectors) size.!

More information about the Squeak-dev mailing list