|
|
1.1 ! root 1: #import "textundo.h" ! 2: ! 3: #define DELETE_OPERATION NXLocalStringFromTable("Operations", "Delete", NULL, "The operation of pressing the delete key to remove the selected graphical entites or text from the document entirely.") ! 4: ! 5: @implementation DeleteTextChange ! 6: ! 7: /* ! 8: * This class is only around so that the UndoText class can determine ! 9: * when its delete: method is being called as a result of a Delete ! 10: * keypress. This is done with ! 11: * [changeObject isKindOf:[DeleteTextChange class]]. ! 12: */ ! 13: ! 14: - initView:aView ! 15: { ! 16: return [super initView:aView name:DELETE_OPERATION]; ! 17: } ! 18: ! 19: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.