The Trunk: Collections-pre.836.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-pre.836.mcz

commits-2
Patrick Rein uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-pre.836.mcz

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

Name: Collections-pre.836
Author: pre
Time: 14 June 2019, 8:26:00.375862 pm
UUID: 317eb24c-8286-c44b-aea8-8cf2119fb38d
Ancestors: Collections-cmm.835

Moves two methods belonging to Morphic to that package.

=============== Diff against Collections-cmm.835 ===============

Item was removed:
- ----- Method: Text>>embeddedMorphs (in category 'accessing') -----
- embeddedMorphs
- "return the list of morphs embedded in me"
-
- | morphs |
- morphs := IdentitySet new.
- runs withStartStopAndValueDo:
- [:start :stop :attribs |
- attribs
- do: [:attrib | attrib anchoredMorph ifNotNil: [morphs add: attrib anchoredMorph]]].
- ^morphs select: [:m | m isMorph]!

Item was removed:
- ----- Method: Text>>embeddedMorphsFrom:to: (in category 'accessing') -----
- embeddedMorphsFrom: start to: stop
- "return the list of morphs embedded in me"
-
- | morphs |
- morphs := IdentitySet new.
- runs
- runsFrom: start
- to: stop
- do:
- [:attribs |
- attribs
- do: [:attr | attr anchoredMorph ifNotNil: [morphs add: attr anchoredMorph]]].
- ^morphs select: [:m | m isMorph]!