The Trunk: ToolBuilder-Morphic-mt.118.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ToolBuilder-Morphic-mt.118.mcz

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

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

Name: ToolBuilder-Morphic-mt.118
Author: mt
Time: 7 April 2015, 9:13:24.124 am
UUID: 1c78f2a5-f862-1742-aa5d-c860ebcf0cf7
Ancestors: ToolBuilder-Morphic-mt.117

Pluggable text spec now passes edit-selector to pluggable text morph.

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

Item was changed:
  ----- Method: MorphicToolBuilder>>buildPluggableText: (in category 'pluggable widgets') -----
  buildPluggableText: aSpec
  | widget |
  widget := self textPaneClass on: aSpec model
  text: aSpec getText
  accept: aSpec setText
  readSelection: aSpec selection
  menu: aSpec menu.
+ widget editTextSelector: aSpec editText.
  widget askBeforeDiscardingEdits: aSpec askBeforeDiscardingEdits.
  widget font: Preferences standardCodeFont.
  self register: widget id: aSpec name.
  widget getColorSelector: aSpec color.
  self buildHelpFor: widget spec: aSpec.
  self setFrame: aSpec frame in: widget.
  parent ifNotNil:[self add: widget to: parent].
  widget borderColor: Color lightGray.
  widget color: Color white.
  ^widget!