The Trunk: ToolBuilder-Morphic-mt.232.mcz

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

The Trunk: ToolBuilder-Morphic-mt.232.mcz

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

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

Name: ToolBuilder-Morphic-mt.232
Author: mt
Time: 4 August 2019, 10:43:35.061314 am
UUID: 26f2510d-dfa2-fc49-a5cc-8090ec058163
Ancestors: ToolBuilder-Morphic-fn.231

Small refactoring to be able to trigger both immediate and deferred re-styling in pluggable test morphs from outside the widget.

=============== Diff against ToolBuilder-Morphic-fn.231 ===============

Item was changed:
  ----- Method: PluggableTextMorphPlus>>setText: (in category 'styling') -----
  setText: aText
 
  self okToStyle ifFalse:[^super setText: aText].
  super setText: (styler format: aText asText).
  aText size < 4096
+ ifTrue:[self updateStyleNow]
+ ifFalse:[self updateStyle]!
- ifTrue:[styler style: textMorph contents]
- ifFalse:[styler styleInBackgroundProcess:  textMorph contents]!

Item was added:
+ ----- Method: PluggableTextMorphPlus>>updateStyleNow (in category 'styling') -----
+ updateStyleNow
+
+ self okToStyle
+ ifTrue: [styler style: textMorph contents].!