The Trunk: Tools-nice.398.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-nice.398.mcz

commits-2
Nicolas Cellier uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-nice.398.mcz

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

Name: Tools-nice.398
Author: nice
Time: 25 March 2012, 12:37:20.911 pm
UUID: 2349865d-d8dc-4673-bc73-94f30174a1b5
Ancestors: Tools-bf.397

Improve Inspector>>printStringErrorText

It will display:
<error in printString: evaluate "(self at: 2) printString" to debug>
instead of:
<error in printString: evaluate "2 printString" to debug>

=============== Diff against Tools-bf.397 ===============

Item was changed:
  ----- Method: Inspector>>printStringErrorText (in category 'private') -----
  printStringErrorText
  | nm |
  nm := self selectionIndex < 3
  ifTrue: ['self']
  ifFalse: [self selectedSlotName].
+ ^(nm first isDigit
+ ifTrue: ['<error in printString: evaluate "(self at: ' , nm , ') printString" to debug>']
+ ifFalse: ['<error in printString: evaluate "' , nm , ' printString" to debug>']) asText.!
- ^ ('<error in printString: evaluate "' , nm , ' printString" to debug>') asText.!