The Trunk: ToolBuilder-Morphic-mt.133.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.133.mcz

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

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

Name: ToolBuilder-Morphic-mt.133
Author: mt
Time: 17 April 2015, 12:07:56.303 am
UUID: c6c3a02b-2b9e-0241-b953-c45f8529e188
Ancestors: ToolBuilder-Morphic-mt.132

Used property of text spec to indicate changes visually or not.

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

Item was changed:
  ----- Method: MorphicToolBuilder>>buildPluggableInputField: (in category 'widgets optional') -----
  buildPluggableInputField: aSpec
  | widget |
  widget := self buildPluggableText: aSpec.
  widget acceptOnCR: true.
  widget hideScrollBarsIndefinitely.
- widget wantsFrameAdornments: false.
  widget textMorph
  autoFit: false;
  wrapFlag: true;
  width: 999999.
  ^widget!

Item was changed:
  ----- Method: MorphicToolBuilder>>buildPluggableText: (in category 'widgets required') -----
  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 wantsFrameAdornments: aSpec indicateUnacceptedChanges.
  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!