Patrick Rein uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-pre.836.mcz==================== Summary ====================
Name: Tools-pre.836
Author: pre
Time: 10 December 2018, 8:30:57.971104 pm
UUID: 8ebb3f5b-a8fa-4080-a59f-c1f6c58556e9
Ancestors: Tools-pre.835
Moves the categorize all uncategorized logic from Browser to ClassOrganizer
=============== Diff against Tools-pre.835 ===============
Item was changed:
----- Method: Browser>>categorizeAllUncategorizedMethods (in category 'message category list') -----
categorizeAllUncategorizedMethods
"Categorize methods by looking in parent classes for a method category."
+ self classOrMetaClassOrganizer classifyAllUnclassified.
- | organizer organizers |
- organizer := self classOrMetaClassOrganizer.
- organizers := self selectedClassOrMetaClass withAllSuperclasses collect: [:ea | ea organization].
- (organizer listAtCategoryNamed: ClassOrganizer default) do: [:sel | | found |
- found := (organizers collect: [ :org | org categoryOfElement: sel])
- detect: [:ea | ea ~= ClassOrganizer default and: [ ea ~= nil]]
- ifNone: [].
- found ifNotNil: [organizer classify: sel under: found]].
-
self changed: #messageCategoryList!