The Trunk: Tools-eem.1035.mcz

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

The Trunk: Tools-eem.1035.mcz

commits-2
Eliot Miranda uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-eem.1035.mcz

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

Name: Tools-eem.1035
Author: eem
Time: 12 April 2021, 10:50:12.075047 am
UUID: 9f246bef-bed1-4852-8a0d-0ff3e243395f
Ancestors: Tools-nice.1034

tempNames goes with namedTempAt: not tempAt: ; tempAt: merely being a more context-specific name (snuk snuk).

=============== Diff against Tools-nice.1034 ===============

Item was changed:
  ----- Method: Context>>tempsAndValuesLimitedTo:indent: (in category '*Tools-debugger access') -----
  tempsAndValuesLimitedTo: sizeLimit indent: indent
  "Return a string of the temporary variabls and their current values"
 
  | aStream |
  aStream := WriteStream on: (String new: 100).
  self tempNames
  withIndexDo: [:title :index |
  indent timesRepeat: [aStream tab].
  aStream nextPutAll: title; nextPut: $:; space; tab.
  aStream nextPutAll:
+ ((self namedTempAt: index) printStringLimitedTo: (sizeLimit - 3 - title size max: 1)).
- ((self tempAt: index) printStringLimitedTo: (sizeLimit -3 -title size max: 1)).
  aStream cr].
  ^aStream contents!