The Trunk: Morphic-mt.1195.mcz

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

The Trunk: Morphic-mt.1195.mcz

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

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

Name: Morphic-mt.1195
Author: mt
Time: 21 July 2016, 11:20:30.280126 am
UUID: c6b318c6-305b-d048-883b-11ced4969c1f
Ancestors: Morphic-mt.1194

Fixes a small UI glitch where the help text was not removed if the contents of a pluggable text morph were changed programmatically.

=============== Diff against Morphic-mt.1194 ===============

Item was changed:
  ----- Method: PluggableTextMorph>>setText: (in category 'model access') -----
  setText: aText
  textMorph
  ifNil: [textMorph := self textMorphClass new
  contents: aText
  wrappedTo: self innerBounds width.
  textMorph
  margins: (3@0 corner: 0@0);
  setEditView: self;
  autoFit: true;
  setProperty: #indicateKeyboardFocus toValue: #never.
  scroller addMorph: textMorph.
  "Reset minExtent because only now we can anser #isAutoFit correctly."
  self minimumExtent: 0@0; updateMinimumExtent]
  ifNotNil: [textMorph newContents: aText].
  self hasUnacceptedEdits: false.
+ self setScrollDeltas.
+
+ self changed. "Redraw the whole area. For example, it might not be necssary to draw the help text anymore."!
- self setScrollDeltas.!