home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / Apps / DevTools / ClassEditor.0.3 / Source / Text_MiscExtensions.h < prev    next >
Encoding:
Text File  |  1995-02-11  |  874 b   |  46 lines

  1. /* Text_MiscExtensions.h                 
  2.  *
  3.  * This category makes dealing with the Text object easier. 
  4.  * See the docu for details.
  5.  *
  6.  * Usage: ....
  7.  *
  8.  * Written by:         Thomas Engel
  9.  * Created:            30.01.1995 (Copyleft)
  10.  * Last modified:     30.01.1995
  11.  */
  12.  
  13. #import <appkit/appkit.h>
  14.  
  15. @interface Text(MoreMiscExtensions)
  16.  
  17.  
  18. // Working with selections and pasteboards
  19.  
  20. - copyTo:aPasteboard;
  21. - cutTo:aPasteboard;
  22. - pasteFrom:aPasteboard;
  23.  
  24. - (BOOL)hasEmptySelection;
  25.  
  26. - findPerviousWord;
  27. - findNextWord;
  28. - (BOOL)findText:(const char *)string ignoreCase:(BOOL)ignoreCaseflag backwards:(BOOL)backwardsflag wrap:(BOOL)wrapflag font:aSharedFont;
  29.  
  30. - substringFromLine:(int)line;
  31.  
  32. // Working with Text runs and their information
  33.  
  34. - (NXRun *)textRunForPosition:(int)position;
  35.  
  36. - fontsInsideSelection;
  37. - fontAtPosition:(int)position;
  38.  
  39. @end
  40.  
  41. /*
  42.  * History: 30.01.95 Buh
  43.  *            
  44.  *
  45.  * Bugs: - ...
  46.  */