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

commits at source.squeak.org commits at source.squeak.org
Sun Aug 4 08:47:19 UTC 2019


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

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

Name: Morphic-mt.1496
Author: mt
Time: 4 August 2019, 10:47:16.064314 am
UUID: 78812df7-933f-6a4e-b04d-eeb1dab050da
Ancestors: Morphic-mt.1495

Merges and refines Morphic-ct.1492, which complements Tools-ct.851 to add styling to syntax-error tools.

=============== Diff against Morphic-mt.1495 ===============

Item was changed:
  ----- Method: SyntaxError class>>buildMorphicViewOn: (in category '*Morphic-Support') -----
  buildMorphicViewOn: aSyntaxError
  	"Answer an Morphic view on the given SyntaxError."
  	| window |
  	window := (SystemWindow labelled: 'Syntax Error') model: aSyntaxError.
  
  	window addMorph: (PluggableListMorph on: aSyntaxError list: #list
  			selected: #listIndex changeSelected: nil menu: #listMenu:)
  		frame: (0 at 0 corner: 1 at 0.15).
  
+ 	window addMorph: ((PluggableTextMorphPlus on: aSyntaxError text: #contents
- 	window addMorph: (PluggableTextMorph on: aSyntaxError text: #contents
  			accept: #contents:notifying: readSelection: #contentsSelection
  			menu: #codePaneMenu:shifted:)
+ 				useDefaultStyler; updateStyleNow;
+ 				selectionInterval: aSyntaxError errorMessageInterval;
+ 				yourself)
  		frame: (0 at 0.15 corner: 1 at 1).
  
  	^ window openInWorldExtent: 380 at 220!



More information about the Squeak-dev mailing list