TEditSelectionPrivate.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Edited by Paxton on December 29, 1982 10:31 am
Doug Wyatt, May 23, 1985 3:53:59 pm PDT
Michael Plass, May 7, 1985 10:56:06 am PDT
DIRECTORY
TEditDocument USING [Selection, TEditDocumentData],
TextNode USING [Location],
ViewerClasses USING [Viewer];
TEditSelectionPrivate: CEDAR DEFINITIONS
=
BEGIN OPEN TextNode, ViewerClasses;
InvalidateLineCache:
PROC;
CharPositionInCachedLine:
PROC [viewer: Viewer, line:
INTEGER, pos: Location]
RETURNS [x, width:
INTEGER];
x = FIRST[INTEGER] if pos is before start of line
x = LAST[INTEGER] if pos is before after start of line
ResolveToChar: PROC [selection: TEditDocument.Selection, viewer: ViewerClasses.Viewer,
tdd: TEditDocument.TEditDocumentData, x, y: INTEGER]
RETURNS [rightOfLine: BOOL];
END.