Hey Chris,
yay, we need to strive for more consistency in the tools. This is a step in
the right direction. :-)
Here are some minor remarks:
#setSelectedMorph:
- Calling #selection: from within that is against the rules. This is only
called as a reaction to model change. See #update:.
#filterTree
- Maybe we should not filter the children of the current selection but start
with the siblings?
Best,
Marcel
--
View this message in context: http://forum.world.st/The-Trunk-ToolBuilder-Morphic-cmm-109-mcz-tp4816694p4…
Sent from the Squeak - Dev mailing list archive at Nabble.com.
The version number of this package is less than its ancestor's.
The same is true for ToolBuilder-Morphic-cmm.109, and Tools-cmm.569.mcz.
I don't think all tools - including the update mechanism - are prepared
for this. Is it intentional?
Levente
On Wed, 1 Apr 2015, commits(a)source.squeak.org wrote:
> Chris Muller uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-cmm.798.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-cmm.798
> Author: cmm
> Time: 1 April 2015, 11:12:43.922 am
> UUID: b125e333-58b0-4a00-985f-846891e8e046
> Ancestors: Morphic-cmm.805
>
> - SimpleHierarchicalListMorph's now honor preferences:
> mouseOverForKeyboardFocus
> Vertical Smart Splitters
> - Don't let splitter bars be dragged further than their PluggableListMorphs want them to go.
> - PluggableTextMorph's now honor Vertical Smart Splitters to avoid wrapped lines, if possible.
>
> =============== Diff against Morphic-cmm.805 ===============
>
> Item was added:
> + ----- Method: ScrollPane>>hasScrollBar (in category 'testing') -----
> + hasScrollBar
> + ^ scrollBar isInWorld!
>
>
>
Chris Muller uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-cmm.798.mcz
==================== Summary ====================
Name: Morphic-cmm.798
Author: cmm
Time: 1 April 2015, 11:12:43.922 am
UUID: b125e333-58b0-4a00-985f-846891e8e046
Ancestors: Morphic-cmm.805
- SimpleHierarchicalListMorph's now honor preferences:
mouseOverForKeyboardFocus
Vertical Smart Splitters
- Don't let splitter bars be dragged further than their PluggableListMorphs want them to go.
- PluggableTextMorph's now honor Vertical Smart Splitters to avoid wrapped lines, if possible.
=============== Diff against Morphic-cmm.805 ===============
Item was added:
+ ----- Method: ScrollPane>>hasScrollBar (in category 'testing') -----
+ hasScrollBar
+ ^ scrollBar isInWorld!
Chris Muller uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-cmm.569.mcz
==================== Summary ====================
Name: Tools-cmm.569
Author: cmm
Time: 1 April 2015, 11:13:09.646 am
UUID: 71088346-ff2c-4086-8042-bf3407e20986
Ancestors: Tools-cmm.570
- SimpleHierarchicalListMorph's now honor preferences:
mouseOverForKeyboardFocus
Vertical Smart Splitters
Filterable Lists Clear Automatically
- After filtering Tree, refit the column-widths to the filtered results.
=============== Diff against Tools-cmm.570 ===============
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.803.mcz
==================== Summary ====================
Name: Morphic-mt.803
Author: mt
Time: 1 April 2015, 4:41:58.498 pm
UUID: 2b489690-f83f-5e41-82a7-cfba13ce7e54
Ancestors: Morphic-mt.802
Recompose the paragraph if text or runs changed after keyboard input.
We did not notice this bug because Shout/Tools did this in #stylerStyled:. Only some jerky scrolling behavior occured from time to time because the first text morph update (while Shout was background-styling) was without paragraph recomposition.
=============== Diff against Morphic-mt.802 ===============
Item was changed:
----- Method: TextMorph>>handleInteraction:fromEvent: (in category 'editing') -----
handleInteraction: interactionBlock fromEvent: evt
"Perform the changes in interactionBlock, noting any change in selection
and possibly a change in the size of the paragraph (ar 9/22/2001 - added for TextPrintIts)"
| oldEditor oldParagraph oldText |
oldEditor := editor.
oldParagraph := paragraph.
oldText := oldParagraph text copy.
self selectionChanged. "Note old selection"
interactionBlock value.
(oldParagraph == paragraph) ifTrue:[
"this will not work if the paragraph changed"
editor := oldEditor. "since it may have been changed while in block"
].
self selectionChanged. "Note new selection"
(oldText = paragraph text and: [ oldText runs = paragraph text runs ])
+ ifFalse:[
+ self paragraph composeAll.
+ self updateFromParagraph ].
- ifFalse:[ self updateFromParagraph ].
self setCompositionWindow.!