[Pkg] The Trunk: 60Deprecated-mt.42.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 14 11:06:31 UTC 2019


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

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

Name: 60Deprecated-mt.42
Author: mt
Time: 14 August 2019, 1:06:32.713512 pm
UUID: 54694ba4-d41d-7e44-b3ea-8522f794574a
Ancestors: 60Deprecated-mt.41

Deprecates old filter method in menus.

=============== Diff against 60Deprecated-mt.41 ===============

Item was added:
+ ----- Method: MenuMorph>>filterListWith: (in category '*60Deprecated-keyboard control') -----
+ filterListWith: char 
+ 	| matchString |
+ 	self deprecated: 'ct: Use #handleFiltering: instead'.
+ 	matchString := self valueOfProperty: #matchString ifAbsentPut: [String new].
+ 	matchString := char = Character backspace 
+ 				ifTrue: 
+ 					[matchString isEmpty ifTrue: [matchString] ifFalse: [matchString allButLast]]
+ 				ifFalse: [matchString copyWith: char].
+ 	self setProperty: #matchString toValue: matchString!



More information about the Packages mailing list