The Trunk: Morphic-mt.1762.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.1762.mcz

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

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

Name: Morphic-mt.1762
Author: mt
Time: 28 April 2021, 9:04:35.649168 am
UUID: 19ccb34e-5e3b-0e4d-a61f-bc953107aaf2
Ancestors: Morphic-mt.1761

Until the discussion is resolved, do not apply a list of exceptions for the "interactive print-it" feature/preference.

See http://forum.world.st/The-Inbox-Morphic-ct-1586-mcz-tp5106774p5129065.html

=============== Diff against Morphic-mt.1761 ===============

Item was changed:
  ----- Method: TextEditor>>printItTextFor: (in category 'do-its') -----
  printItTextFor: anObject
 
+ self flag: #todo. "mt: Maybe reserve highlights for non-primitive structures only? Maybe skip ByteString, ByteSymbol, Number, Boolean, UndefinedObject? See discussion here: http://forum.world.st/The-Inbox-Morphic-ct-1586-mcz-tp5106774p5129065.html"
+
+ ^ self class interactivePrintIt
- ^ (self class interactivePrintIt and: [(anObject isString or: [anObject isNumber]) not])
  ifFalse: [anObject printString]
  ifTrue: [Text string: anObject printString attribute: (TextInspectIt on: anObject)]!