CommanderViewer.mesa
Copyright Ó 1992 by Xerox Corporation. All rights reserved.
Michael Plass, March 11, 1992 12:30 pm PST
DIRECTORY Rope, ViewerClasses;
CommanderViewer: CEDAR DEFINITIONS
~ BEGIN
Create: PROC [info: ViewerClasses.ViewerRec, initial: Rope.ROPE] RETURNS [ViewerClasses.Viewer];
Queue: PROC [commanderViewer: ViewerClasses.Viewer, commandLine: Rope.ROPE, mouseButton: ViewerClasses.MouseButton ¬ red, shift: BOOL ¬ FALSE, control: BOOL ¬ FALSE];
Does not wait for the command to be completed. The command line may contain substitution keys as for the CreateButton command.
Any queued partial line will be deleted.
If commandLine does not end with '\n, a partial line will result.
Abort: PROC [commanderViewer: ViewerClasses.Viewer];
Like hitting the STOP! button.
END.