<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Thabk you.<br><br><br>I am not sure if this other OCD nightmare has been addressed in this discusion, bot the tail end of the title suffers from a similar issue.<br><br>Workspace titled OCD.txt, save workspace contents to file->  OCD.txt.txt<br>File in contents to Workspace...<br>Workspace titled OCD.txt.txt  save workspace contents to file->  OCD.txt.txt.txt<br>.....<br><br>Cheers<br><div id="message"></div><br id="br3"><div id="signature"></div><div id="content"><br> ---- On Mon, 19 Oct 2020 20:19:19 -0400 <b> eliot.miranda@gmail.com </b> wrote ----<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin-left: 5px;"><div><div dir="ltr"><div class="x_-1546002409gmail_default" style="font-size: large;">Thanks Javier, I integrated it today.  Finally :-)</div></div><br><div class="x_-1546002409gmail_quote"><div dir="ltr" class="x_-1546002409gmail_attr">On Sun, Oct 18, 2020 at 8:59 AM Javier Diaz-Reinoso via Squeak-dev <<a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev@lists.squeakfoundation.org</a>> wrote:<br></div><blockquote class="x_-1546002409gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left-width: 1.0px;border-left-style: solid;border-left-color: rgb(204,204,204);padding-left: 1.0ex;"><div style="">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:<div><br><div></div></div></div><div style=""><div><div><br><blockquote><div>On 18 Oct 2020, at 07:41, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>> wrote:</div><br><div><span style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;float: none;display: inline;">Hi Tim,</span><br style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;"><div dir="ltr" style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;"><br></div><div dir="ltr" style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;"><br><blockquote>On Oct 18, 2020, at 3:57 AM, gettimothy via Squeak-dev <<a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev@lists.squeakfoundation.org</a>> wrote:<br><br></blockquote></div><blockquote style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;"><div dir="ltr"><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>Ignore as fitting<br></div></div></div></blockquote><div style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;"><br></div><span style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;float: none;display: inline;">I can join you; this gets on my tits.</span><div style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;"><br><blockquote><div dir="ltr"><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div><br></div><div><a href="https://www.pinterest.com/indigogeek/ocd-nightmares/" target="_blank">https://www.pinterest.com/indigogeek/ocd-nightmares/</a><br></div><div><br></div><div><br></div><blockquote style="border: 1.0px solid rgb(204,204,204);padding: 7.0px;background-color: rgb(245,245,245);"><div><div>FileList >>viewContentsInWorkspace<br></div><div>"View the contents of my selected file in a new workspace"<br></div><div><br></div><div>| aString aFileStream aName |<br></div><div>aString := (aFileStream := directory readOnlyFileNamed: self fullName) setConverterForCode contentsOfEntireFile.<br></div><div>aName := aFileStream localName.<br></div><div>aFileStream close.<br></div><div>UIManager default edit: aString withSqueakLineEndings label:<b><span> </span>'Workspace from ',</b>aName<br></div></div></blockquote><div><br></div><div>maybe its the OCD in me, but that verbiage preceding the file name at the top of a workspace is redundant and annoying.<br></div><div><br></div><div>1. redundant--it is at the top of a Workspace.<br></div><div>2. the infinitely expanding title ala <i><b>Worspace from Workspace from Worspace from Workspace from Foo.txt</b></i><br></div><div>3. I have to edit each title upon file in. see OCD above.<br></div><div><br></div><div><br></div><div>A simple change to the method:<br></div><blockquote style="border: 1.0px solid rgb(204,204,204);padding: 7.0px;background-color: rgb(245,245,245);"><div><div>FileList >> viewContentsInWorkspace<br></div><div>"View the contents of my selected file in a new workspace"<br></div><div><br></div><div>| aString aFileStream aName |<br></div><div>aString := (aFileStream := directory readOnlyFileNamed: self fullName) setConverterForCode contentsOfEntireFile.<br></div><div>aName := aFileStream localName.<br></div><div>aFileStream close.<br></div><div><b>UIManager default edit: aString withSqueakLineEndings label: aName</b><br></div><div><br></div><div><br></div></div></blockquote><div><br></div><div>eradicates the OCD nightmare  <br></div></div></div></blockquote><div><br></div>The 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.</div><div style="font-family: Helvetica;font-size: 14.0px;font-style: normal;font-weight: normal;letter-spacing: normal;text-indent: 0.0px;text-transform: none;white-space: normal;word-spacing: 0.0px;text-decoration: none;"><br><blockquote><div dir="ltr"><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div><span style="font-size: 10.0pt;">cheers,</span></div><div><br></div><div>tty</div></div></div></blockquote></div></div></blockquote></div><br></div></div><br>
</blockquote></div><br><div><br></div>-- <br><div dir="ltr" class="x_-1546002409gmail_signature"><div dir="ltr"><div><span style="font-size: small;border-collapse: separate;"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
<br></div></blockquote></div></div><br></body></html>