[squeak-dev] The Trunk: Tools-ct.867.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Aug 6 06:55:56 UTC 2019


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ct.867.mcz

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

Name: Tools-ct.867
Author: ct
Time: 5 August 2019, 2:53:38.181062 pm
UUID: 78e23a28-d33b-054e-8d7d-2a94d6dd028a
Ancestors: Tools-mt.864

Refactor Workspace>>#toggleStyling

Replace an ugly hack by the refined #updateStyleNow method (see ToolBuilder-Morphic-ct.234)

=============== Diff against Tools-mt.864 ===============

Item was changed:
  ----- Method: Workspace>>toggleStyling (in category 'code pane menu') -----
  toggleStyling
  
  	shouldStyle := self shouldStyle not.
+ 	self codeTextMorph updateStyleNow.!
- 	" Ugly hack, to restyle our contents. "
- 	self codeTextMorph in: [ :codeTextMorph |
- 		codeTextMorph setText:
- 			codeTextMorph textMorph text asString asText ]!



More information about the Squeak-dev mailing list