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

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

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

Name: Morphic-mt.1294
Author: mt
Time: 22 August 2016, 9:53:07.357917 am
UUID: e6c9b0f9-f531-6045-b74b-4f1f5d9a7405
Ancestors: Morphic-mt.1293

(For an update fix in the help browser.) If models start to tell text fields about selection changes, give models a chance to just say "No change, please."

=============== Diff against Morphic-mt.1293 ===============

Item was changed:
  ----- Method: PluggableTextMorph>>setSelection: (in category 'model access') -----
  setSelection: sel
+
+ "Give the model a chance to just leave the selection where it currently is."
+ sel ifNil: [^ self].
+
  selectionInterval := sel.
  textMorph editor selectFrom: sel first to: sel last.
  self scrollSelectionIntoView.!