ftp.nice.ch/pub/next/science/mathematics/HippoDraw.2.0.s.tar.gz#/HippoDraw/Hippo.bproj/Draw.subproj/textUndo.subproj/CutSelection.h

This is CutSelection.h in view mode; [Download] [Up]

/*
 * This class saves the characters in the selection but maintains
 * another start/end pair so the visible selection can be different
 * than the characters that were saved.
 */

@interface CutSelection : TextSelection
{
    int visibleStart;		/* start of selection to be shown */
    int visibleEnd;		/* end of selection to be shown */
}

/* Creation method */

- initText:aView start:(int)aPos end:(int)anotherPos;

/* Public methods */

- install;
- (int)visibleLength;
- setVisible:(int)start :(int)end;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.