Squeak Class Documentation category index | class index  
 
TranscriptStream
  category: Collections-Streams
  superclass: WriteStream
  subclasses:

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 designe to write to streams.

instance methods
  access
  characterLimit

  file in/out
 

  initialization
  closeAllViews
open
openAsMorph
openAsMorphLabel:
openLabel:

  model protocol
  codePaneMenu:shifted:
perform:orSendTo:
release
step

  private
  semaphore

  stream extensions
  bs
clear
endEntry
flush
pastEndPut:
show:

class methods
  as yet unclassified
  new
newTranscript:

instance methods
  access top  
 

characterLimit

Tell the views how much to retain on screen


  file in/out top  

  initialization top  
 

closeAllViews

Transcript closeAllViews


 

open


 

openAsMorph

Answer a morph viewing this transcriptStream


 

openAsMorphLabel:

Build a morph viewing this transcriptStream


 

openLabel:

Open a window on this transcriptStream


  model protocol top  
 

codePaneMenu:shifted:

Note that unless we override perform:orSendTo:, PluggableTextController will respond to all menu items


 

perform:orSendTo:

Selector was just chosen from a menu by a user. If can respond, then
perform it on myself. If not, send it to otherTarget, presumably the
editPane from which the menu was invoked.


 

release

Remove references to objects that may refer to the receiver. This message
should be overridden by subclasses with any cycles, in which case the
subclass should also include the expression super release.


 

step

Objects that may be models of SystemWindows need to respond to this, albeit vacuously


  private top  
 

semaphore


  stream extensions top  
 

bs


 

clear

Clear all characters and redisplay the view


 

endEntry

Display all the characters since the last endEntry, and reset the stream


 

flush

Do nothing by default


 

pastEndPut:

If the stream reaches its limit, just output the contents and reset.


 

show:

TextCollector compatibility


class methods
  as yet unclassified top  
 

new

Answer a new instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.


 

newTranscript:

Store aTextCollector as the value of the system global Transcript.