Hi Marcel,<br>
<br>
regarding #constantNames, see also my proposed implementation in Collections-ct.871. :-)<br>
<br>
Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><i><font color="#808080">Sent from </font></i><i><u><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><font color="#808080">Squeak Inbox Talk</font></a></u></i><br>
<br>
On 2021-06-18T06:02:53+00:00, commits@source.squeak.org wrote:<br>
<br>
> Marcel Taeumel uploaded a new version of Collections to project The Trunk:<br>
> http://source.squeak.org/trunk/Collections-mt.945.mcz<br>
> <br>
> ==================== Summary ====================<br>
> <br>
> Name: Collections-mt.945<br>
> Author: mt<br>
> Time: 18 June 2021, 8:02:50.788904 am<br>
> UUID: d551c74f-90b4-400a-8952-d9d4ff31e3bb<br>
> Ancestors: Collections-eem.944<br>
> <br>
> Extends constant character names to support #return.<br>
> <br>
> Fixes constant character names to work with all current constants, which, e.g., includes #arrowUp etc.<br>
> <br>
> 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.<br>
> <br>
> =============== Diff against Collections-eem.944 ===============<br>
> <br>
> Item was changed:<br>
> ----- Method: Character class>>constantNames (in category 'private') -----<br>
> constantNames<br>
> +     ^ #( backspace delete return lf enter delete escape null space tab arrowDown arrowUp arrowLeft arrowRight end home pageDown pageUp euro insert )!<br>
> -     ^ #( backspace cr delete escape lf null newPage space tab ).!<br>
> <br>
> Item was added:<br>
> + ----- Method: Character class>>return (in category 'accessing untypeable characters') -----<br>
> + return<br>
> +     "Answer the Character representing a carriage return."<br>
> + <br>
> +     ^self value: 13!<br>
> <br>