home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / editor / dig12.cpt / Views / CSelectLine.h < prev   
Encoding:
C/C++ Source or Header  |  1992-03-01  |  636 b   |  28 lines

  1. /****
  2.  * CSelectLine.h
  3.  *
  4.  *    A text edit pane for a tiny editor.
  5.  *
  6.  ****/
  7.  
  8.  
  9. #define _H_CSelectLine
  10.  
  11. #include <CEditText.h>
  12.  
  13. struct CSelectLine : CEditText {
  14.  
  15.     long        selLine;
  16.                                 /** Contruction/Destruction **/
  17.     void    ISelectLine(CView *anEnclosure, CBureaucrat *aSupervisor,
  18.                 short vLoc, short vHeight);
  19.  
  20.     void    FindEnds(long line, long *lineStart, long *lineEnd);
  21.     void    DoClick(Point hitPt, short modifierKeys, long when);
  22.     void    DoKeyDown(char theChar, Byte keyCode, EventRecord *macEvent);
  23.     void    SetSelectedLine( long line, Boolean fRedraw);
  24.     long    GetSelectedLine(void);
  25.  
  26.     void    AdjustCursor(Point where, RgnHandle mouseRgn);
  27. };
  28.