[squeak-dev] The Trunk: Tools-mt.635.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Oct 7 08:19:27 UTC 2015


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.635.mcz

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

Name: Tools-mt.635
Author: mt
Time: 7 October 2015, 10:19:10.116 am
UUID: c85a7669-d4dd-394f-be02-a82c75c011e8
Ancestors: Tools-cmm.634

Restores possibility to edit dropped text files. This feature got lost in Squeak 4.0 with the introduction of services and the use of UIManager as fall-back.

=============== Diff against Tools-cmm.634 ===============

Item was added:
+ ----- Method: FileStream class>>edit: (in category '*Tools-Changes') -----
+ edit: fullNameOrStream
+ 
+ 	^ (fullNameOrStream isString
+ 		ifTrue: [self fileNamed: fullNameOrStream]
+ 		ifFalse: [fullNameOrStream]) edit!

Item was added:
+ ----- Method: FileStream class>>serviceEditFile (in category '*Tools-Changes') -----
+ serviceEditFile
+ 
+ 	^ SimpleServiceEntry 
+ 		provider: self 
+ 		label: 'edit as text file'
+ 		selector: #edit:
+ 		description: 'edit as text file'
+ 		buttonLabel: 'edit'!

Item was added:
+ ----- Method: FileStream class>>serviceEditFileSuffixes (in category '*Tools-Changes') -----
+ serviceEditFileSuffixes
+ 
+ 	^ #('*')!



More information about the Squeak-dev mailing list