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

1.1     ! root        1: /*
        !             2:  * This class saves the characters in the selection but maintains
        !             3:  * another start/end pair so the visible selection can be different
        !             4:  * than the characters that were saved.
        !             5:  */
        !             6: 
        !             7: @interface CutSelection : TextSelection
        !             8: {
        !             9:     int visibleStart;          /* start of selection to be shown */
        !            10:     int visibleEnd;            /* end of selection to be shown */
        !            11: }
        !            12: 
        !            13: /* Creation method */
        !            14: 
        !            15: - initText:aView start:(int)aPos end:(int)anotherPos;
        !            16: 
        !            17: /* Public methods */
        !            18: 
        !            19: - install;
        !            20: - (int)visibleLength;
        !            21: - setVisible:(int)start :(int)end;
        !            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.