[squeak-dev] The Trunk: ToolBuilder-Morphic-ar.40.mcz

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

[squeak-dev] The Trunk: ToolBuilder-Morphic-ar.40.mcz

commits-2
Andreas Raab uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-ar.40.mcz

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

Name: ToolBuilder-Morphic-ar.40
Author: ar
Time: 4 October 2009, 9:27:02 am
UUID: 3d6178ad-642f-3d41-9fdd-b22e9f8600f5
Ancestors: ToolBuilder-Morphic-ar.39

Honor the askBeforeDiscardingEdits property.

=============== Diff against ToolBuilder-Morphic-ar.39 ===============

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