[squeak-dev] The Trunk: Collections-eem.767.mcz

Chris Cunningham cunningham.cb at gmail.com
Tue Nov 14 20:30:47 UTC 2017


On Nov 14, 2017 11:31 AM, "Tobias Pape" <Das.Linux at gmx.de> wrote:

YAY!

Agreed!  Never knew o wanted this but looking back over the years this
would have been wonderful.

Thank you :D

Best regards
        -Tobias
> On 14.11.2017, at 20:29, commits at source.squeak.org wrote:
>
> Eliot Miranda uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-eem.767.mcz
>
> ==================== Summary ====================
>
> Name: Collections-eem.767
> Author: eem
> Time: 14 November 2017, 11:29:19.620473 am
> UUID: 9705b40c-d81d-4667-b9eb-fbfccbe2e955
> Ancestors: Collections-bp.766
>
> Make the Transcript's characterLimit a preference.
>
> =============== Diff against Collections-bp.766 ===============
>
> Item was changed:
>  WriteStream subclass: #TranscriptStream
>       instanceVariableNames: 'lastChar'
> +     classVariableNames: 'AccessSema CharacterLimit ForceUpdate
RedirectToStdOut'
> -     classVariableNames: 'AccessSema ForceUpdate RedirectToStdOut'
>       poolDictionaries: ''
>       category: 'Collections-Streams'!
>
>  !TranscriptStream commentStamp: 'fbs 12/30/2013 09:53' prior: 0!
>  This class is a much simpler implementation of Transcript protocol that
supports multiple views and very simple conversion to morphic.  Because it
inherits from Stream, it is automatically compatible with code that is
designed to write to streams.!
>
> Item was added:
> + ----- Method: TranscriptStream class>>characterLimit (in category
'preferences') -----
> + characterLimit
> +     <preference: 'Maximum number of characters in a transcript'
> +             categoryList: #(printing morphic debug)
> +             description: 'When the number of characters in a transcript
exceeds this limit, characters at the start of the text are discarded.'
> +             type: #Number>
> +     ^CharacterLimit ifNil: [20000]!
>
> Item was changed:
>  ----- Method: TranscriptStream>>characterLimit (in category 'accessing')
-----
>  characterLimit
>       "Tell the views how much to retain on screen"
> +     ^self class characterLimit!
> -     ^ 20000!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171114/2282bc58/attachment.html>


More information about the Squeak-dev mailing list