[squeak-dev] The Inbox: Collections-nice.807.mcz

Chris Cunningham cunningham.cb at gmail.com
Fri Sep 14 00:16:27 UTC 2018


On Thu, Sep 13, 2018, 12:30 <commits at source.squeak.org> wrote:

> Nicolas Cellier uploaded a new version of Collections to project The Inbox:
> http://source.squeak.org/inbox/Collections-nice.807.mcz
>
> ==================== Summary ====================
>
> Name: Collections-nice.807
> Author: nice
> Time: 13 September 2018, 9:29:57.057799 pm
> UUID: f4686e6e-1820-4c3f-841d-c1904914c147
> Ancestors: Collections-topa.806
>
> Let isSeparator be consistent with Character separators after introduction
> of nbsp.
>
> The performance cost should be marginal.
>
> Note: some (CharacterSet cleanUp: false) might be necessary in postscript,
> unless this is included in the release process...
>
> Please include the postscript. There are still some of us that keep images
> alive for years (or decades) and just update through releases instead of
> reloading.  Thanks,
>
CBC

=============== Diff against Collections-topa.806 ===============
>
> Item was changed:
>   ----- Method: Character>>isSeparator (in category 'testing') -----
>   isSeparator
>         "Answer whether the receiver is one of the separator
> characters--space,
> +       cr, tab, line feed, or form feed and nbsp."
> -       cr, tab, line feed, or form feed."
>
>         | integerValue |
> +       (integerValue := self asInteger) > 32 ifTrue: [ ^integerValue =
> 160 "non breaking space" ].
> -       (integerValue := self asInteger) > 32 ifTrue: [ ^false ].
>         integerValue
>                 caseOf: {
>                         [ 32 "space" ] -> [ ^true ].
>                         [ 9 "tab" ] -> [ ^true ].
>                         [ 13 "cr"] -> [ ^true ].
>                         [ 10 "line feed" ] -> [ ^true ].
>                         [ 12 "form feed"] -> [ ^true ] }
>                 otherwise: [ ^false  ]!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180913/533028e3/attachment.html>


More information about the Squeak-dev mailing list