TiogaMenuOps.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
written by Bill Paxton. June 1982
last written by Paxton. December 28, 1982 12:59 pm
last written by Teitelman. January 10, 1983 12:56 pm
Doug Wyatt, March 3, 1985 12:56:31 pm PST
Files and text viewers
Save:
PROC [viewer: Viewer];
Load:
PROC [viewer: Viewer, fileName:
ROPE ←
NIL,
fileNameProcViewer: Viewer ←
NIL];
if fileName rope is NIL, then use selection instead.
fileNameProcViewer will be used for fileNameProc confirmation
Open:
PROC [fileName:
ROPE ←
NIL,
fileNameProcViewer: Viewer ←
NIL]
RETURNS [Viewer];
if fileName rope is NIL, then use selection instead.
CloseAndOpen:
PROC [viewer: Viewer, fileName:
ROPE ←
NIL,
fileNameProcViewer: Viewer ←
NIL]
RETURNS [Viewer];
if fileName rope is NIL, then use selection instead.
LoadImpl:
PROC [viewer: Viewer, fileName:
ROPE ←
NIL];
if fileName rope is NIL, then use selection instead.
OpenImpl:
PROC [fileName:
ROPE ←
NIL]
RETURNS [Viewer];
if fileName rope is NIL, then use selection instead.
CloseAndOpenImpl:
PROC [viewer: Viewer, fileName:
ROPE ←
NIL]
RETURNS [Viewer];
if fileName rope is NIL, then use selection instead.
LoadPreviousFile:
PROC [parent: Viewer];
OpenPreviousFile:
PROC [parent: Viewer];
CloseAndOpenPreviousFile:
PROC [parent: Viewer];
Store:
PROC [viewer: Viewer, fileName:
ROPE ←
NIL];
if fileName rope is NIL, then use selection instead.
Empty:
PROC [viewer: Viewer];
New:
PROC
RETURNS [Viewer];
CloseAndNewViewer:
PROC [viewer: Viewer]
RETURNS [Viewer];
Reset:
PROC [viewer: Viewer];