[squeak-dev] The Trunk: Collections-mt.945.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jun 18 06:02:53 UTC 2021

Marcel Taeumel uploaded a new version of Collections to project The Trunk:

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

Name: Collections-mt.945
Author: mt
Time: 18 June 2021, 8:02:50.788904 am
UUID: d551c74f-90b4-400a-8952-d9d4ff31e3bb
Ancestors: Collections-eem.944

Extends constant character names to support #return.

Fixes constant character names to work with all current constants, which, e.g., includes #arrowUp etc.

Drop #newPage in favor of #pageDown (and #pageUp). Note that #newPage still works as a constant. It will just not show up when you print a non-printable character.

=============== Diff against Collections-eem.944 ===============

Item was changed:
  ----- Method: Character class>>constantNames (in category 'private') -----
+ 	^ #( backspace delete return lf enter delete escape null space tab arrowDown arrowUp arrowLeft arrowRight end home pageDown pageUp euro insert )!
- 	^ #( backspace cr delete escape lf null newPage space tab ).!

Item was added:
+ ----- Method: Character class>>return (in category 'accessing untypeable characters') -----
+ return
+ 	"Answer the Character representing a carriage return."
+ 	^self value: 13!

More information about the Squeak-dev mailing list