The Trunk: Tools-mt.635.mcz

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

The Trunk: Tools-mt.635.mcz

commits-2
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
+
+ ^ #('*')!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Tools-mt.635.mcz

Chris Muller-3
Nice, I actually like to use Squeak as a text-editor sometimes
(although not having Undo sucks).

On Wed, Oct 7, 2015 at 3:19 AM,  <[hidden email]> wrote:

> 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
> +
> +       ^ #('*')!
>
>