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

commits at source.squeak.org commits at source.squeak.org
Sun Jan 23 12:00:48 UTC 2022

Marcel Taeumel uploaded a new version of Tools to project The Trunk:

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

Name: Tools-mt.1112
Author: mt
Time: 23 January 2022, 1:00:46.990005 pm
UUID: dfaadec9-7390-7443-9105-cb391eeecc1b
Ancestors: Tools-mt.1111

If the user disabled the #fileOutOnAccept preference for workspaces, inform them if they happen to press CMD+S anyway. Because then, they won't get a notification when trying to close the window but just lose their work.

=============== Diff against Tools-mt.1111 ===============

Item was changed:
  ----- Method: Workspace>>acceptContents: (in category 'accessing') -----
  acceptContents: aString
+ 	acceptAction ifNil: [self inform: 'Your edits were <b>not persisted</b>. Please do not close this<br>window. If you want to save your edits to a file on accept,<br>check the workspace preferences or this window''s menu.' translated asTextFromHtml].
  	^ (acceptAction ifNotNil: [acceptAction value: aString]) ~~ false
  		and: [super acceptContents: aString]!

More information about the Squeak-dev mailing list