ViewerIOExtras.mesa
Last edited by:
MBrown on December 16, 1983 4:36 pm
DIRECTORY
IO USING [STREAM], Rope USING [ROPE];
ViewerIOExtras: CEDAR DEFINITIONS = BEGIN
STREAM: TYPE = IO.STREAM; ROPE: TYPE = Rope.ROPE;
GetBuffer: PROC [editedViewerStream: STREAM] RETURNS [REF TEXT];
Obtain current buffer contents from editedViewerStream.
TypeChars: PROC [editedViewerStream: STREAM, chars: ROPE];
Simulate typing the characters chars to the keyboard behind the given edited viewer stream. The stream's DeliverWhenProc sees the chars transmitted by TypeChars, unlike calling EditedStream.AppendBufferChars.
END.