The Trunk: Morphic-mt.1653.mcz

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

The Trunk: Morphic-mt.1653.mcz

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

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

Name: Morphic-mt.1653
Author: mt
Time: 27 April 2020, 10:11:39.00234 am
UUID: 8c21e8a4-388d-8c4d-bafe-d48c875354a2
Ancestors: Morphic-mt.1652

Avoid message send to object-under-inspection to not discard references to proxies. Remove soon-to-be deprecated #inspectElement.

=============== Diff against Morphic-mt.1652 ===============

Item was removed:
- ----- Method: MorphExtension>>inspectElement (in category 'other') -----
- inspectElement
- "Create and schedule an Inspector on the otherProperties and the
- named properties."
- | key obj |
- key := UIManager default chooseFrom: self sortedPropertyNames values: self sortedPropertyNames  title: 'Inspect which property?'.
- key
- ifNil: [^ self].
- obj := otherProperties
- at: key
- ifAbsent: ['nOT a vALuE'].
- obj = 'nOT a vALuE'
- ifTrue: [(self perform: key) inspect
- "named properties"]
- ifFalse: [obj inspect]!

Item was changed:
  ----- Method: TextEditor>>inspectIt (in category 'do-its') -----
  inspectIt
 
  self evaluateSelectionAndDo: [:result |
  (model respondsTo: #inspectIt:result:)
  ifTrue: [model
  perform: #inspectIt:result:
  with: self selection
  with: result]
+ ifFalse: [ToolSet inspect: result]].!
- ifFalse: [result inspect]].!