[squeak-dev] The Trunk: Morphic-mt.1860.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jan 27 11:08:16 UTC 2022


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

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

Name: Morphic-mt.1860
Author: mt
Time: 27 January 2022, 12:08:10.671541 pm
UUID: 1e06e708-c328-da42-9f3d-a8cbc99ea089
Ancestors: Morphic-mt.1859

Tweaks Morphic-mt.1859 a little bit more to preserve *all* custom window titles when changing UI themes or scale factors.

=============== Diff against Morphic-mt.1859 ===============

Item was changed:
  ----- Method: StringMorph>>acceptContents (in category 'editing') -----
  acceptContents
  	"The message is sent when the user hits enter or Cmd-S. Accept the current contents and end editing. This default implementation updates the model's known window title for pluggable windows."
  
  	self containingWindow ifNotNil: [:wnd |
+ 		wnd setLabel: self contents. "Needed for models that do not accept changes."
  		(wnd respondsTo: #getLabelSelector) ifTrue: [
  			wnd getLabelSelector ifNotNil: [:selector |
  				| mutator |
  				mutator := selector asSimpleSetter.
  				(wnd model respondsTo: mutator) ifTrue: [
  					wnd model perform: mutator with: self contents]]]]!

Item was changed:
+ (PackageInfo named: 'Morphic') postscript: '"Fixes custom edits that were not propagated properly to pluggable windows."
+ StringMorph allInstances do: [:ea | ea acceptContents].'!
- (PackageInfo named: 'Morphic') postscript: '"Fix missing command key shortcuts such as [cmd]+[+/-] for scale changes."
- Project allMorphicProjects do: [:p | p world initializeDesktopCommandKeySelectors].
- 
- "New ''scale factor'' menu"
- TheWorldMainDockingBar updateInstances.
- 
- "Enable ''Enclose selection with brackets'' by default (Morphic-mt.1812)"
- TextEditor encloseSelection: true.'!



More information about the Squeak-dev mailing list