home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Examples / AppKit / Draw / textUndo.subproj / DeleteTextChange.m < prev    next >
Text File  |  1992-02-09  |  584b  |  20 lines

  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
  20.