The Trunk: Morphic-mt.2221.mcz

[email protected] Mon, 27 Jul 2026 07:08:21 0000
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.2221.mcz

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

Name: Morphic-mt.2221
Author: mt
Time: 27 July 2026, 9:08:18.741417 am
UUID: 756a8d6a-a16f-8344-a9b3-3612be962bc3
Ancestors: Morphic-mt.2220, Morphic-ct.2219

Fixes slip corrected via Morphic-ct.2219. Thanks to Christoph (ct) for this find!

Morphic-ct.2219:
	Fixes a slip updating paths during filtering in trees.

=============== Diff against Morphic-mt.2220 ===============

Item was changed:
  ----- Method: SimpleHierarchicalListMorph>>parentMorphOf: (in category 'selection') -----
  parentMorphOf: itemMorph
  	"Answers the parent morph for itemMorph or nil if there is none."
  
  	| wrapper |
  	wrapper := itemMorph complexContents.
  	^ (wrapper respondsTo: #parent)
  		ifFalse: [ | parentItemMorph |
  			parentItemMorph := itemMorph.
  			[parentItemMorph isNil
  				or: [parentItemMorph indentLevel = (itemMorph indentLevel -1)]]
+ 					whileFalse: [parentItemMorph := parentItemMorph submorphBefore].
+ 			parentItemMorph]
- 					whileFalse: [parentItemMorph := parentItemMorph submorphBefore]]
  		ifTrue: [
  			wrapper := wrapper parent.
  			scroller submorphs
  				detect: [:each | each complexContents == wrapper]
  				ifNone: [nil]]!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]