The Trunk: EToys-mt.348.mcz

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

The Trunk: EToys-mt.348.mcz

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

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

Name: EToys-mt.348
Author: mt
Time: 19 August 2019, 2:15:42.515152 pm
UUID: 52342b0c-7ee5-aa4d-8bbd-c67788816b5b
Ancestors: EToys-kfr.347

Merges EToys-kfr.347 fix about stepping through textually coded scripts.

=============== Diff against EToys-mt.345 ===============

Item was changed:
  ----- Method: EtoysDebugger>>evaluateNextTile (in category 'evaluating') -----
  evaluateNextTile
+       (scriptEditor isTextuallyCoded) ifTrue:[^ self inform: 'You can''t step through textually coded scripts.\Use a script''s tile-based representation instead.' withCRs translated].
  [next = (scriptEditor tiles at: 1 ifAbsent: [nil])
  ifTrue: ["We are about to evaluate the first tile"
  self updateStartingPosition].
  self trailMorph batchPenTrails
  ifTrue: [self evaluateNextTileWithBatchPenTrails]
  ifFalse: [next evaluateOn: self]]
  on: Error do: [:err || newNext |
  newNext := scriptEditor tiles at: 1 ifAbsent: [^ self].
  newNext = next
  ifTrue: [err pass]
  ifFalse: [next := newNext].
  self evaluateNextTile]
 
  !