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

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

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

Name: Morphic-mt.799
Author: mt
Time: 1 April 2015, 10:48:52.717 am
UUID: 8402d670-ebfe-6a4b-9563-16fc41d80d37
Ancestors: Morphic-mt.798

Remove the balloon text when start typing because we assume that the user focuses on the input and not the help anymore.

This is similar to balloon help for buttons where the bubble disappears if the user clicks the button.

=============== Diff against Morphic-mt.798 ===============

Item was changed:
  ----- Method: TextMorphForEditView>>keyStroke: (in category 'event handling') -----
  keyStroke: evt
  | view |
+ editView deleteBalloon.
  (editView scrollByKeyboard: evt) ifTrue: [^self].
  self editor model: editView model.  "For evaluateSelection"
  view := editView.  "Copy into temp for case of a self-mutating doit"
  (acceptOnCR and: [evt keyCharacter = Character cr])
  ifTrue: [^ self editor accept].
  super keyStroke: evt.
  view scrollSelectionIntoView!