The Trunk: Protocols-nice.32.mcz

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

The Trunk: Protocols-nice.32.mcz

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

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

Name: Protocols-nice.32
Author: nice
Time: 27 August 2010, 10:32:16.708 pm
UUID: 54ca194f-35cd-bf48-9216-6d167e293b58
Ancestors: Protocols-nice.31

#ifNil: simplification

=============== Diff against Protocols-nice.31 ===============

Item was changed:
  ----- Method: ObjectWithDocumentation>>editDescription (in category 'documentation') -----
  editDescription
  "Allow the user to see and edit the documentation for this object"
  | reply helpMessage |
+ helpMessage := self documentation ifNil: [String new].
- helpMessage := self documentation isNil
- ifTrue: [String new]
- ifFalse: [self documentation].
  reply := UIManager default
  multiLineRequest: 'Kindly edit the description' translated
  centerAt: Sensor cursorPoint
  initialAnswer: helpMessage
  answerHeight: 200.
  reply isEmptyOrNil
  ifFalse: [self documentation: reply]!