Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.111.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-mt.111
Author: mt
Time: 1 April 2015, 4:34:47.411 pm
UUID: df7f741e-5af0-c14f-b019-03ed2d822fc9
Ancestors: ToolBuilder-Morphic-mt.110
Fixed should background-styling to update text morph runs only from within the morphic UI process.
=============== Diff against ToolBuilder-Morphic-mt.110 ===============
Item was changed:
----- Method: PluggableTextMorphPlus>>stylerStyledInBackground: (in category 'styling') -----
stylerStyledInBackground: styledCopyOfText
"Sent after the styler completed styling of the text"
"It is possible that the text string has changed since the styling began. Disregard the styles if styledCopyOfText's string differs with the current textMorph contents string"
+ Project current addDeferredUIMessage: [
+ textMorph contents string = styledCopyOfText string
+ ifTrue: [self stylerStyled: styledCopyOfText]].!
- textMorph contents string = styledCopyOfText string
- ifTrue: [self stylerStyled: styledCopyOfText]!
Tobias Pape uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-topa.916.mcz
==================== Summary ====================
Name: Kernel-topa.916
Author: topa
Time: 1 April 2015, 2:00:39.799 pm
UUID: 8f05add4-c132-40ad-a4cc-a6131ec098f3
Ancestors: Kernel-topa.915
(same as before)
Fix arguments access in WeakMessageSend
=============== Diff against Kernel-topa.915 ===============
Item was changed:
----- Method: WeakMessageSend>>withEnsuredReceiverAndArgumentsDo:otherwise: (in category 'private') -----
withEnsuredReceiverAndArgumentsDo: aBlock otherwise: altBlock
"Grab real references to receiver and arguments. If they still exist, evaluate aBlock."
"Return if my receiver has gone away"
| r a |
r := self receiver.
r ifNil: [ ^altBlock value ].
"Make sure that my arguments haven't gone away"
+ a := Array withAll: self arguments.
- a := Array withAll: arguments.
a with: shouldBeNil do: [ :arg :flag |
arg ifNil: [ flag ifFalse: [ ^altBlock value ]]
].
^aBlock value: r value: a!
<http://forum.world.st/file/n4816614/small-scrollbars.png>
In conjuction with narrow scrollbars and no menu button, you can save some
space on screen with it. For the sake of comparison, you see the default
setting on the right: gradient enabled, menu button visible, arrow buttons
visible, normal width.
I thought about making the background/paging area transparent but this would
affect discoverability of its features. Do you yet try to click on the area
besides the draggable thumb? ;-)
Best,
Marcel
--
View this message in context: http://forum.world.st/The-Trunk-Morphic-mt-800-mcz-tp4816610p4816614.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
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!