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

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

/*
 * This class is used to represent a change in the current selection
 * (e.g., a font change). The contents and position of the selection are
 * saved before and after the change.
 */

@interface TextSelChange : TextChange
{
    int selStart;		/* selection start before change */
    int selEnd;			/* selection end before change */
    id oldSel;			/* selection data before change */
    id newSel;			/* selection data after change */
    const char *name;		/* name string */
}

/* Initialization method */

- initView:aView name:(const char *)str;

/* Free method */

- free;

/* Public methods */

- (const char *)changeName;
- saveBeforeChange;
- saveAfterChange;
- undoChange;
- redoChange;

@end

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