[squeak-dev] The Trunk: Collections-topa.873.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Feb 11 12:29:53 UTC 2020


Tobias Pape uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-topa.873.mcz

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

Name: Collections-topa.873
Author: topa
Time: 11 February 2020, 1:29:50.690328 pm
UUID: 45abc260-998e-4352-89cb-2e33b4f4b59c
Ancestors: Collections-ul.872

Fix browser-dependency of Collections

=============== Diff against Collections-ul.872 ===============

Item was removed:
- ----- Method: Text>>askIfAddStyle:req: (in category 'attributes') -----
- askIfAddStyle: priorMethod req: requestor
- 	"Ask the user if we have a complex style (i.e. bold) for the first time"
- 	| tell answ old |
- 	(SystemBrowser browseWithPrettyPrint)
- 		ifTrue: [self couldDeriveFromPrettyPrinting ifTrue: [^ self asString]].
- 	self runs coalesce.
- 	self unembellished ifTrue: [^ self asString].
- 	priorMethod ifNotNil: [old := priorMethod getSourceFromFile].
- 	(old == nil or: [old unembellished])
- 		ifTrue:
- 			[tell := 'This method contains style for the first time (e.g. bold or colored text).
- Do you really want to save the style info?'.
- 			answ := (UIManager default 
- 						chooseFrom: #('Save method with style' 'Save method simply')
- 						title: tell).
- 			answ = 2 ifTrue: [^ self asString]]!



More information about the Squeak-dev mailing list