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].!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ct.866.mcz
==================== Summary ====================
Name: Tools-ct.866
Author: ct
Time: 5 August 2019, 10:29:35.745062 am
UUID: c6a238b9-a337-024d-b37c-67c63dd44ca2
Ancestors: Tools-ct.865
Adapt styling in SyntaxError to doitFlag of the parser.
The following now also is styled properly:
String compile: 'foobar
^ 42 ,.-'
Thanks for Marcel for the hint!
=============== Diff against Tools-mt.864 ===============
Item was changed:
----- Method: SyntaxError>>aboutToStyle: (in category 'text menu support') -----
aboutToStyle: aStyler
+ aStyler
+ classOrMetaClass: self selectedClassOrMetaClass;
+ parseAMethod: notification doitFlag not.
- aStyler classOrMetaClass: (self selectedClass = UndefinedObject ifFalse: [self selectedClass]).
^ true!
Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/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].!
A note for anyone working on Grease & Seaside -
After installing Seaside I note that there are a couple of potentially problematic Undeclared items. They both appear to be related to Grease methods and in particular block context temps.
The offending items are #home and #startpc, both referenced in BlockContext>>#fixCallbackTemps. This is possibly related to the changes in closures etc we've recently added for the next release. There are four implementors and perhaps 20 senders that will need some attention. It might well be making for interesting odd effects in SeaSide.
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: D: Detonate