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! |
YAY!
Thank you :D Best regards -Tobias > On 14.11.2017, at 20:29, [hidden email] 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! > > |
Agreed! Never knew o wanted this but looking back over the years this would have been wonderful. Thank you :D |
Free forum by Nabble | Edit this page |