[squeak-dev] The Trunk: Collections-tpr.537.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Tue Oct 1 18:06:55 UTC 2013


Browsing changes from http://69.251.218.6:9116/diffs in CompositionScanner
shows that it comes from 4015twoColumnGeeMail-raa.cs
So the intention is revealed :)
Is the fact that newPage is hijacked and re-interpreted as a columnBreak a
current practice or is it a hack?
In one case, this can stay in Character, in the other it deserves a better
packaging...



2013/10/1 Levente Uzonyi <leves at elte.hu>

> On Tue, 1 Oct 2013, tim Rowledge wrote:
>
>
>> On 01-10-2013, at 8:59 AM, Levente Uzonyi <leves at elte.hu> wrote:
>>
>>  Does this method belong to Collections? Shouldn't it be an extension
>>> method?
>>>
>>
>> How is it not simply a Character constants method? I don't see how it is
>> any different to Character cr, or Character space etc.
>>
>
> The comment suggests that it's intended to be used by character scanners:
> "use a newPage to split columns in character scanners".
>
> Its users are in Graphics and MorphicExtras.
>
> Why would any character need two Character constants method?
>
> If it's just a Character constants method, then why not use #newPage
> instead?
>
>
> Levente
>
>
>
>>
>> tim
>> --
>> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
>> To define recursion, we must first define recursion.
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131001/bf1c4d89/attachment.htm


More information about the Squeak-dev mailing list