|
|
1.1 ! root 1: /* ! 2: * This class is used to represent a change in the current selection ! 3: * (e.g., a font change). The contents and position of the selection are ! 4: * saved before and after the change. ! 5: */ ! 6: ! 7: @interface TextSelChange : TextChange ! 8: { ! 9: int selStart; /* selection start before change */ ! 10: int selEnd; /* selection end before change */ ! 11: id oldSel; /* selection data before change */ ! 12: id newSel; /* selection data after change */ ! 13: const char *name; /* name string */ ! 14: } ! 15: ! 16: /* Initialization method */ ! 17: ! 18: - initView:aView name:(const char *)str; ! 19: ! 20: /* Free method */ ! 21: ! 22: - free; ! 23: ! 24: /* Public methods */ ! 25: ! 26: - (const char *)changeName; ! 27: - saveBeforeChange; ! 28: - saveAfterChange; ! 29: - undoChange; ! 30: - redoChange; ! 31: ! 32: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.