Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How do I open a Workspace with text in it?
Last updated at 9:37 am UTC on 7 December 2021
Use the following code

 Workspace new
    contents: aStringOrText;
    openLabel: 'the title of the workspace window'


or
 StringHolder 
  new textContents: aStringOrText
  withSqueakLineEndings; 
  openLabel: aLabelString


Example

Open a Workspace with content