Annotation of Examples/AppKit/Draw/graphicsUndo.subproj/StartEditingGraphicsChange.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * This change is created when the user begins editing a text
        !             3:  * graphic, either by clicking in graphic while in the text tool
        !             4:  * is selected or by creating a new graphic with the text tool. 
        !             5:  * Undoing this change inserts the removes the text editing
        !             6:  * cursor from the text. More significantly, undoing this
        !             7:  * change swaps the contents of the field editor back into the
        !             8:  * TextGraphic and redoing this change swaps the contents of the
        !             9:  * TextGraphic into the field editor.
        !            10:  */
        !            11: 
        !            12: @interface StartEditingGraphicsChange : Change
        !            13: {
        !            14:     TextGraphic        *graphic;
        !            15: }
        !            16: 
        !            17: - initGraphic:aGraphic;
        !            18: - (const char *)changeName;
        !            19: - undoChange;
        !            20: - redoChange;
        !            21: 
        !            22: @end

unix.superglobalmegacorp.com

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