---- On Mon, 19 Oct 2020 20:19:19 -0400 [hidden email] wrote ----
Thanks Javier, I integrated it today. Finally :-)On Sun, Oct 18, 2020 at 8:59 AM Javier Diaz-Reinoso via Squeak-dev <[hidden email]> wrote:I send the list a change set years ago and was ignored, the current version I use also preserve the lineConversion and remember the name for save:On 18 Oct 2020, at 07:41, Eliot Miranda <[hidden email]> wrote:Hi Tim,On Oct 18, 2020, at 3:57 AM, gettimothy via Squeak-dev <[hidden email]> wrote:Ignore as fittingI can join you; this gets on my tits.FileList >>viewContentsInWorkspace"View the contents of my selected file in a new workspace"| aString aFileStream aName |aString := (aFileStream := directory readOnlyFileNamed: self fullName) setConverterForCode contentsOfEntireFile.aName := aFileStream localName.aFileStream close.UIManager default edit: aString withSqueakLineEndings label: 'Workspace from ',aNamemaybe its the OCD in me, but that verbiage preceding the file name at the top of a workspace is redundant and annoying.1. redundant--it is at the top of a Workspace.2. the infinitely expanding title ala Worspace from Workspace from Worspace from Workspace from Foo.txt3. I have to edit each title upon file in. see OCD above.A simple change to the method:FileList >> viewContentsInWorkspace"View the contents of my selected file in a new workspace"| aString aFileStream aName |aString := (aFileStream := directory readOnlyFileNamed: self fullName) setConverterForCode contentsOfEntireFile.aName := aFileStream localName.aFileStream close.UIManager default edit: aString withSqueakLineEndings label: aNameeradicates the OCD nightmareThe only thing I’d suggest differently is that it check if the file name contains “Workspace’ and if not, still adds the ‘Workspace from ’ prefix.cheers,tty
--_,,,^..^,,,_best, Eliot