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

commits at source.squeak.org commits at source.squeak.org
Thu Mar 24 19:19:44 UTC 2022


Christoph Thiede uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ct.1943.mcz

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

Name: Morphic-ct.1943
Author: ct
Time: 24 March 2022, 8:16:43.005856 pm
UUID: e89b8b18-3f00-4a4f-b3d7-a779d2924240
Ancestors: Morphic-mt.1942

Marks "mini editors" for StringMorphs as plain-text-only. Thanks to Marcel for the pointer!

=============== Diff against Morphic-mt.1942 ===============

Item was changed:
  ----- Method: StringMorph>>launchMiniEditor: (in category 'editing') -----
  launchMiniEditor: evt
  
  	| textMorph |
  	hasFocus := true.  "Really only means edit in progress for this morph"
  	textMorph := StringMorphEditor new contentsAsIs: contents.
  	textMorph font: self fontToUse.
  	textMorph color: self color.
+ 	textMorph plainTextOnly: true.
  	textMorph innerBounds: self innerBounds.
  	self addMorphFront: textMorph.
  	evt hand newKeyboardFocus: textMorph.
  	textMorph editor selectFrom: 1 to: textMorph paragraph text string size!



More information about the Squeak-dev mailing list