The Inbox: Morphic-ct.1503.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Morphic-ct.1503.mcz

commits-2
A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/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!