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

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

/*
 * This class records a contiguous selection of characters from a text
 * object.
 */

@interface TextSelection : Object
{
    NXRect frame;		/* frame when created */
    int start;			/* first position in selection */
    int end;			/* last position in selection */
    NXStream *selectionChars;	/* RTF stream of selection */
    UndoText *text;		/* the text object in question */
    int clickCount;		/* saved from Text object */
    BOOL allText;		/* YES if we're saving the whole text object */
}

/* Creation methods */

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

/* Free method */

- free;

/* Access methods */

- (int)clickCount;
- setClickCount:(int)value;

/* Public methods */

- capture;
- install;
- remove;

@end

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