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!
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!
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!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.798.mcz
==================== Summary ====================
Name: Morphic-mt.798
Author: mt
Time: 1 April 2015, 10:34:38.43 am
UUID: b8569c16-d9cb-a24e-b4d5-a6b7f6abd7ba
Ancestors: Morphic-mt.797
Fixes error that may occur in empty lazy lists when mapping a point to a row index.
=============== Diff against Morphic-mt.797 ===============
Item was changed:
----- Method: LazyListMorph>>rowAtLocation: (in category 'list management') -----
rowAtLocation: aPoint
"return the number of the row at aPoint"
| y |
y := aPoint y.
+ y < self top ifTrue: [ ^ 1 min: listItems size ].
- y < self top ifTrue: [ ^ 1 ].
^((y - self top // (font height)) + 1) min: listItems size max: 0!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.798.mcz
==================== Summary ====================
Name: Morphic-mt.798
Author: mt
Time: 1 April 2015, 10:34:38.43 am
UUID: b8569c16-d9cb-a24e-b4d5-a6b7f6abd7ba
Ancestors: Morphic-mt.797
Fixes error that may occur in empty lazy lists when mapping a point to a row index.
=============== Diff against Morphic-mt.797 ===============
Item was changed:
----- Method: LazyListMorph>>rowAtLocation: (in category 'list management') -----
rowAtLocation: aPoint
"return the number of the row at aPoint"
| y |
y := aPoint y.
+ y < self top ifTrue: [ ^ 1 min: listItems size ].
- y < self top ifTrue: [ ^ 1 ].
^((y - self top // (font height)) + 1) min: listItems size max: 0!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.798.mcz
==================== Summary ====================
Name: Morphic-mt.798
Author: mt
Time: 1 April 2015, 10:34:38.43 am
UUID: b8569c16-d9cb-a24e-b4d5-a6b7f6abd7ba
Ancestors: Morphic-mt.797
Fixes error that may occur in empty lazy lists when mapping a point to a row index.
=============== Diff against Morphic-mt.797 ===============
Item was changed:
----- Method: LazyListMorph>>rowAtLocation: (in category 'list management') -----
rowAtLocation: aPoint
"return the number of the row at aPoint"
| y |
y := aPoint y.
+ y < self top ifTrue: [ ^ 1 min: listItems size ].
- y < self top ifTrue: [ ^ 1 ].
^((y - self top // (font height)) + 1) min: listItems size max: 0!