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

commits at source.squeak.org commits at source.squeak.org
Wed Aug 14 11:09:52 UTC 2019


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

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

Name: Morphic-ct.1503
Author: ct
Time: 12 August 2019, 6:57:19.483878 pm
UUID: edc880e2-504a-1a40-bdc9-e619c47f564a
Ancestors: Morphic-mt.1498

Mark MenuMorph>>#filterListWith: as deprecated

Thanks to Marcel for the tip :)

=============== Diff against Morphic-mt.1498 ===============

Item was changed:
  ----- Method: MenuMorph>>filterListWith: (in category '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 Squeak-dev mailing list