[Pkg] The Trunk: ToolBuilder-Morphic-mt.245.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Oct 8 15:00:34 UTC 2019

Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:

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

Name: ToolBuilder-Morphic-mt.245
Author: mt
Time: 8 October 2019, 5:00:34.876299 pm
UUID: e04a17d3-27c0-6240-9f66-62a60947f810
Ancestors: ToolBuilder-Morphic-mt.244

Complements Morphic-mt.1560.

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

Item was changed:
  ----- Method: MorphicToolBuilder>>buildPluggableText: (in category 'widgets required') -----
  buildPluggableText: aSpec
  	| widget |
  	widget := self textPaneClass new.
  	aSpec stylerClass ifNotNil: [:c | widget styler: (c new view: widget)].	
  		on: aSpec model
  		text: aSpec getText 
  		accept: aSpec setText
  		readSelection: aSpec selection 
  		menu: aSpec menu.
  	aSpec font ifNotNil: [:f | widget font: f].
  	widget readOnly: aSpec readOnly.
  	widget editTextSelector: aSpec editText.
  	widget wantsFrameAdornments: aSpec indicateUnacceptedChanges.
  	widget askBeforeDiscardingEdits: aSpec askBeforeDiscardingEdits.
  	widget setProperty: #alwaysAccept toValue: aSpec askBeforeDiscardingEdits not.
  	widget wrapFlag: (aSpec softLineWrap ifNil: [true]).
- 	widget isAutoFit
- 		ifTrue: [widget hideHScrollBarIndefinitely]
- 		ifFalse: [widget showHScrollBarOnlyWhenNeeded].
  	self register: widget id: aSpec name.
  	widget getColorSelector: aSpec color.
  	widget getTextColorSelector: aSpec textColor.
  	self buildHelpFor: widget spec: aSpec.
  	self setFrame: aSpec frame in: widget.
  	self setLayoutHintsFor: widget spec: aSpec.
  	parent ifNotNil:[self add: widget to: parent].

More information about the Packages mailing list