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

commits at source.squeak.org commits at source.squeak.org
Wed Jan 26 07:07:16 UTC 2022


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

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

Name: Tools-mt.1114
Author: mt
Time: 26 January 2022, 8:07:12.312127 am
UUID: e3c2c01e-3fc1-b14c-b352-3977f6c6abba
Ancestors: Tools-mt.1113

Fixes "cancel" option when trying to "save contents to file..." in the Transcript's text-field's "more..." menu.

Thanks to Jaromir (jar) for the pointer!

=============== Diff against Tools-mt.1113 ===============

Item was changed:
  ----- Method: TranscriptStream>>saveContents:accessMode: (in category '*Tools-file out') -----
  saveContents: stringContents accessMode: accessMode
  	"Interactive callback from TextEditor. See commentary in Model class."
  
  	^ (Project uiManager
  		saveFilenameRequest: 'Save text contents in file...'
  		initialAnswer: 'Transcript.text')
+ 			ifNil: [false] ifNotNil: [:answer | answer ifEmpty: [false]
- 			ifEmpty: [false]
  			ifNotEmpty: [:fileName |
  				Model new
  					saveContents: stringContents
  					onFileNamed: fileName
+ 					accessMode: accessMode]].!
- 					accessMode: accessMode].!



More information about the Squeak-dev mailing list