[squeak-dev] The Trunk: ToolBuilder-Morphic-mt.236.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Aug 6 07:17:31 UTC 2019


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

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

Name: ToolBuilder-Morphic-mt.236
Author: mt
Time: 6 August 2019, 9:17:31.036145 am
UUID: 5d5db619-f3e7-4b78-8364-e1cc5eca90b1
Ancestors: ToolBuilder-Morphic-mt.235

Reverts ToolBuilder-Morphic-ct.234 because it breaks manual styling and soft-line-break logic in TextMorphs for not automatically styled texts.

=============== Diff against ToolBuilder-Morphic-mt.235 ===============

Item was changed:
  ----- Method: PluggableTextMorphPlus>>updateStyle (in category 'styling') -----
  updateStyle
+ 
- 	"Be sure to reset the style if it is not #okToStyle. Models might just send 'self changed: #style' without resetting the contents. See #update:."
- 	
  	self okToStyle
+ 		ifTrue: [styler styleInBackgroundProcess: textMorph contents].!
- 		ifTrue: [styler styleInBackgroundProcess: textMorph contents]
- 		ifFalse: [textMorph contents: textMorph contents asString].!

Item was changed:
  ----- Method: PluggableTextMorphPlus>>updateStyleNow (in category 'styling') -----
  updateStyleNow
+ 
- 	"Be sure to reset the style if it is not #okToStyle. Models might just send 'self changed: #style' without resetting the contents. See #update:."
- 	
  	self okToStyle
+ 		ifTrue: [styler style: textMorph contents].!
- 		ifTrue: [styler style: textMorph contents]
- 		ifFalse: [textMorph contents: textMorph contents asString].!



More information about the Squeak-dev mailing list