The Trunk: MorphicExtras-mt.297.mcz

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

The Trunk: MorphicExtras-mt.297.mcz

commits-2
Marcel Taeumel uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-mt.297.mcz

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

Name: MorphicExtras-mt.297
Author: mt
Time: 29 April 2021, 6:03:23.320356 pm
UUID: 90db92d6-2b46-7741-a2bd-147dbc644da9
Ancestors: MorphicExtras-mt.296

Avoid using ActiveWorld, ActiveHand, ActiveEvent.

=============== Diff against MorphicExtras-mt.296 ===============

Item was changed:
  ----- Method: Workspace class>>extraExampleContents2 (in category '*MorphicExtras-examples') -----
  extraExampleContents2
  "This is example code for #extraExample2"
 
  "Inspect any (sub)expression result by pressing <cmd>i"
  (20 to: 40 by: 2) asOrderedCollection
  addFirst: 16;
  addLast: 42;
  sort: [:x | x \\ 3] descending;
  yourself.
 
  "Explore any (sub)expression result by pressing <cmd>I"
  Project current world.
 
  "Debug any (sub)expression using <cmd>D"
  (1 to: 9) join asNumber sqrt truncateTo: 1e-3.
+ (SystemWindow windowsIn: self currentWorld)
- (SystemWindow windowsIn: ActiveWorld)
  select: [:window | window bounds isWide]
  thenDo: [:window | window color: window color negated].!