Marcel Taeumel uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-mt.158.mcz
==================== Summary ====================
Name: MorphicExtras-mt.158
Author: mt
Time: 31 March 2015, 11:50:53.299 am
UUID: fc9c79dc-8f8a-f247-8cff-60a50ca2d16f
Ancestors: MorphicExtras-mt.157
Classify new-style balloon morphs as valid balloon help.
=============== Diff against MorphicExtras-mt.157 ===============
Item was added:
+ ----- Method: NewBalloonMorph>>isBalloonHelp (in category '*MorphicExtras-classification') -----
+ isBalloonHelp
+ ^ true!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.795.mcz
==================== Summary ====================
Name: Morphic-mt.795
Author: mt
Time: 31 March 2015, 11:47:43.755 am
UUID: 63a8f18d-ec06-d646-8a81-0fd3a455cc47
Ancestors: Morphic-mt.794
Backwards-compatibility in old-style balloon morphs for being opened at a specific position.
=============== Diff against Morphic-mt.794 ===============
Item was added:
+ ----- Method: BalloonMorph>>popUpAt:forHand: (in category 'initialization') -----
+ popUpAt: aPoint forHand: aHand
+
+ self popUpForHand: aHand.!
On Mon, 30 Mar 2015, commits(a)source.squeak.org wrote:
> Marcel Taeumel uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-mt.605.mcz
>
> ==================== Summary ====================
>
> Name: Collections-mt.605
> Author: mt
> Time: 30 March 2015, 8:46:49.164 am
> UUID: b661cec7-af10-7a42-9c4c-a09449425548
> Ancestors: Collections-ul.604
>
> Support #withBlanksTrimmed in texts.
>
> =============== Diff against Collections-ul.604 ===============
>
> Item was added:
> + ----- Method: String class>>noSeparators (in category 'accessing') -----
> + noSeparators
> + ^ CSNonSeparators!
I like the idea of a shared CharacterSet with the non-separator
characters, but IMHO it should be on the class side of CharacterSet and I
prefer the name #nonSeparators.
Any objections?
Levente
>
> Item was added:
> + ----- Method: Text>>withBlanksTrimmed (in category 'converting') -----
> + withBlanksTrimmed
> + "Return a copy of the receiver from which leading and trailing blanks have been trimmed."
> +
> + | first last |
> + first := string indexOfAnyOf: String noSeparators startingAt: 1 ifAbsent: [0].
> + first = 0 ifTrue: [ ^'' ]. "no non-separator character"
> + last := string lastIndexOfAnyOf: String noSeparators startingAt: self size ifAbsent: [self size].
> + (first = 1 and: [ last = self size ]) ifTrue: [ ^self copy ].
> + ^self
> + copyFrom: first
> + to: last
> + !
>
>
>