Annotation of Examples/AppKit/Draw/textUndo.subproj/PasteTextChange.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * This class represents text paste changes. Because the insertion point
        !             3:  * is left at the end of the new characters after a paste, this class
        !             4:  * has to calculate which characters were actually pasted.
        !             5:  */
        !             6: 
        !             7: @interface PasteTextChange : TextSelChange
        !             8: {
        !             9:     int textLength;            /* length of text before paste */
        !            10:     int selectionStart;                /* start of selection before paste */
        !            11:     int selectionLength;       /* size of selection before paste */
        !            12: }
        !            13: 
        !            14: /* Creation method */
        !            15: 
        !            16: - initView:textView;
        !            17: 
        !            18: /* Public methods */
        !            19: 
        !            20: - saveBeforeChange;
        !            21: - saveAfterChange;
        !            22: 
        !            23: @end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.