[squeak-dev] The Inbox: ToolBuilder-Morphic-ct.234.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Aug 5 12:50:13 UTC 2019


A new version of ToolBuilder-Morphic was added to project The Inbox:
http://source.squeak.org/inbox/ToolBuilder-Morphic-ct.234.mcz

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

Name: ToolBuilder-Morphic-ct.234
Author: ct
Time: 5 August 2019, 2:50:11.900062 pm
UUID: f6987fae-9cfa-4e44-927f-247f4eeb868e
Ancestors: ToolBuilder-Morphic-mt.233

Extend #updateStyle(Now) to remove obsolete styling

A call of #updateStyle(Now) implies that the text morph is used for styling, so it is not capable of storing other styles we could accidentally delete here.

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

Item was changed:
  ----- Method: PluggableTextMorphPlus>>updateStyle (in category 'styling') -----
  updateStyle
  
  	self okToStyle
+ 		ifTrue: [styler styleInBackgroundProcess: textMorph contents]
+ 		ifFalse: [textMorph contents: textMorph contents asString].!
- 		ifTrue: [styler styleInBackgroundProcess: textMorph contents].!

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



More information about the Squeak-dev mailing list