[squeak-dev] The Trunk: Morphic-ct.1831.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Dec 26 18:23:26 UTC 2021

Christoph Thiede uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-ct.1831
Author: ct
Time: 26 December 2021, 7:22:25.591061 pm
UUID: 12a8abbc-80b9-5341-aaf2-16be98564328
Ancestors: Morphic-mt.1830

Fixes editor regression that raised an MNU for #cancel in simple text morphs. Minor refactoring in TextMorphForEditView >> #cancelEdits.

=============== Diff against Morphic-mt.1830 ===============

Item was added:
+ ----- Method: TextMorph>>cancelEditsSafely (in category 'editing') -----
+ cancelEditsSafely
+ 	"Safe variation of #cancelEdits, where the undo history is not discarded and can thus be used to undo the cancel operation.
+ 	This default implementation does nothing."!

Item was changed:
  ----- Method: TextMorphForEditView>>cancelEdits (in category 'editing') -----
  	"The message is sent when the user hits enter or Cmd-L.
  	Cancel the current contents and end editing."
+ 	super cancelEdits.
- 	self releaseParagraph.
  	editView cancel!

More information about the Squeak-dev mailing list