applettextedit.h File Reference

#include <appletdefs.h>

Include dependency graph for applettextedit.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tyeditrecord

Defines

#define texteditinclude
#define textvertinset   2
#define texthorizinset   2
#define mintextwidth   25

Typedefs

typedef tyeditrecordptreditrecord
typedef tyeditrecord ** hdleditrecord

Functions

void editrewrap (hdleditrecord)
boolean editvisiselection (hdleditrecord)
void editgetsize (Handle, short *, short *)
boolean editnewbuffer (Rect, boolean, bigstring, hdleditrecord *)
void editsetrect (hdleditrecord, Rect)
void editdispose (hdleditrecord)
void editidle (hdleditrecord)
void editautoscroll (hdleditrecord)
void editpaste (hdleditrecord)
void editcut (hdleditrecord)
void editcopy (hdleditrecord)
boolean editgettext (hdleditrecord, bigstring)
void editkeystroke (char, hdleditrecord)
void editclick (Point, boolean, hdleditrecord)
void editcleartextchanged (hdleditrecord)
void editupdate (hdleditrecord hbuffer)
void editupdateport (hdleditrecord, Rect, WindowPtr)
void editactivate (hdleditrecord, boolean)
void editsetwordwrap (hdleditrecord, boolean)
void editselectall (hdleditrecord)
boolean editpointinrect (Point, hdleditrecord)
boolean editreplace (bigstring, hdleditrecord)
void editsetjustification (tyjustification, hdleditrecord)
void editdrawtext (bigstring, Rect, tyjustification)
boolean editgettexthandle (hdleditrecord, Handle *)
void editdrawtexthandle (Handle, Rect, tyjustification)
boolean editnewbufferfromhandle (Rect, boolean, Handle, hdleditrecord *)
boolean editsettexthandle (hdleditrecord, Handle, boolean)
boolean editgettexthandlecopy (hdleditrecord, Handle *)
boolean editreplacehandle (Handle, hdleditrecord)
boolean editgetselectedtexthandle (hdleditrecord, Handle *)
void editgetbuffersize (hdleditrecord, short *, short *)
boolean edithaveselection (hdleditrecord)
boolean editscroll (hdleditrecord, short, short)
void editscrollto (hdleditrecord, short, short)
boolean editgetselection (hdleditrecord, short *, short *)
boolean editsetselection (hdleditrecord, short, short)
void editsetfont (hdleditrecord, short, short)


Define Documentation

#define mintextwidth   25
 

Definition at line 21 of file applettextedit.h.

#define texteditinclude
 

Definition at line 8 of file applettextedit.h.

#define texthorizinset   2
 

Definition at line 20 of file applettextedit.h.

#define textvertinset   2
 

Definition at line 19 of file applettextedit.h.


Typedef Documentation

typedef struct tyeditrecord ** hdleditrecord
 

typedef struct tyeditrecord * ptreditrecord
 


Function Documentation

void editactivate hdleditrecord  ,
boolean 
 

Definition at line 270 of file applettextedit.c.

References getmacbuffer().

Referenced by runmodeactivate().

Here is the call graph for this function:

void editautoscroll hdleditrecord   ) 
 

Definition at line 333 of file applettextedit.c.

References getmacbuffer().

Here is the call graph for this function:

void editcleartextchanged hdleditrecord   ) 
 

void editclick Point  ,
boolean  ,
hdleditrecord 
 

Definition at line 571 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), getmacbuffer(), popclip(), pt, and pushclip().

Referenced by editclickbottleneck().

Here is the call graph for this function:

void editcopy hdleditrecord   ) 
 

Definition at line 460 of file applettextedit.c.

References DisposeHandle, editgetselectedtexthandle(), GetHandleSize, getmacbuffer(), HLock, HUnlock, and noErr.

Referenced by cardEditCommand().

Here is the call graph for this function:

void editcut hdleditrecord   ) 
 

Definition at line 416 of file applettextedit.c.

References DisposeHandle, editgetselectedtexthandle(), editprescroll(), editsetscrollvalues(), GetHandleSize, and getmacbuffer().

Referenced by cardEditCommand().

Here is the call graph for this function:

void editdispose hdleditrecord   ) 
 

Definition at line 378 of file applettextedit.c.

References disposehandle(), and getmacbuffer().

Referenced by clearactivetextobject().

Here is the call graph for this function:

void editdrawtext bigstring  ,
Rect  ,
tyjustification 
 

Definition at line 393 of file applettextedit.c.

References getTEjustification(), stringlength, texthorizinset, and textvertinset.

Here is the call graph for this function:

void editdrawtexthandle Handle  ,
Rect  ,
tyjustification 
 

Definition at line 401 of file applettextedit.c.

References GetHandleSize, getTEjustification(), lockhandle(), nil, texthorizinset, textvertinset, and unlockhandle().

Referenced by initIOAcallbacks().

Here is the call graph for this function:

void editgetbuffersize hdleditrecord  ,
short ,
short
 

Definition at line 776 of file applettextedit.c.

References chreturn, tyFontInfo::descent, editgetsize(), getmacbuffer(), globalfontinfo, r, texthorizinset, and textvertinset.

Here is the call graph for this function:

boolean editgetselectedtexthandle hdleditrecord  ,
Handle
 

Definition at line 1004 of file applettextedit.c.

References fl, getmacbuffer(), h, lockhandle(), newfilledhandle(), and unlockhandle().

Referenced by editclickbottleneck(), editcopy(), and editcut().

Here is the call graph for this function:

boolean editgetselection hdleditrecord  ,
short ,
short
 

Definition at line 648 of file applettextedit.c.

References getmacbuffer().

Here is the call graph for this function:

void editgetsize Handle  ,
short ,
short
 

Definition at line 706 of file applettextedit.c.

References chreturn, GetHandleSize, HLock, HUnlock, and i.

Referenced by editgetbuffersize(), and getobjectsize().

boolean editgettext hdleditrecord  ,
bigstring 
 

Definition at line 533 of file applettextedit.c.

References getmacbuffer(), lenbigstring, moveleft(), and setstringlength.

Here is the call graph for this function:

boolean editgettexthandle hdleditrecord  ,
Handle
 

Definition at line 814 of file applettextedit.c.

References getmacbuffer().

Referenced by getobjectvalue().

Here is the call graph for this function:

boolean editgettexthandlecopy hdleditrecord  ,
Handle
 

Definition at line 909 of file applettextedit.c.

References copyhandle(), GetHandleSize, getmacbuffer(), h, and nil.

Referenced by clearactivetextobject().

Here is the call graph for this function:

boolean edithaveselection hdleditrecord   ) 
 

Definition at line 936 of file applettextedit.c.

References getmacbuffer().

Here is the call graph for this function:

void editidle hdleditrecord   ) 
 

Definition at line 630 of file applettextedit.c.

References editselectall(), and getmacbuffer().

Referenced by initIOAcallbacks().

Here is the call graph for this function:

void editkeystroke char  ,
hdleditrecord 
 

Definition at line 556 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), and getmacbuffer().

Referenced by initIOAcallbacks().

Here is the call graph for this function:

boolean editnewbuffer Rect  ,
boolean  ,
bigstring  ,
hdleditrecord
 

Definition at line 101 of file applettextedit.c.

References disposehandle(), h, longsizeof, newclearhandle(), nil, stringlength, texthorizinset, and textvertinset.

Here is the call graph for this function:

boolean editnewbufferfromhandle Rect  ,
boolean  ,
Handle  ,
hdleditrecord
 

Definition at line 832 of file applettextedit.c.

References disposehandle(), GetHandleSize, h, lockhandle(), longsizeof, newclearhandle(), nil, texthorizinset, textvertinset, and unlockhandle().

Referenced by setactivetextobject().

Here is the call graph for this function:

void editpaste hdleditrecord   ) 
 

Definition at line 516 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), and getmacbuffer().

Referenced by cardEditCommand().

Here is the call graph for this function:

boolean editpointinrect Point  ,
hdleditrecord 
 

Definition at line 663 of file applettextedit.c.

References getmacbuffer(), and pt.

Here is the call graph for this function:

boolean editreplace bigstring  ,
hdleditrecord 
 

Definition at line 674 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), getmacbuffer(), and stringlength.

Referenced by cardEditCommand().

Here is the call graph for this function:

boolean editreplacehandle Handle  ,
hdleditrecord 
 

Definition at line 980 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), GetHandleSize, getmacbuffer(), lockhandle(), and unlockhandle().

Referenced by editsettexthandle().

Here is the call graph for this function:

void editrewrap hdleditrecord   ) 
 

Definition at line 361 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), and getmacbuffer().

Here is the call graph for this function:

boolean editscroll hdleditrecord  ,
short  ,
short 
 

Definition at line 947 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), and getmacbuffer().

Referenced by editscrollto().

Here is the call graph for this function:

void editscrollto hdleditrecord  ,
short  ,
short 
 

Definition at line 967 of file applettextedit.c.

References editscroll(), editsetscrollvalues(), and getmacbuffer().

Here is the call graph for this function:

void editselectall hdleditrecord   ) 
 

Definition at line 624 of file applettextedit.c.

References editsetselection().

Referenced by cardEditCommand(), editidle(), and initIOAcallbacks().

Here is the call graph for this function:

void editsetfont hdleditrecord  ,
short  ,
short 
 

Definition at line 304 of file applettextedit.c.

References tyFontInfo::ascent, tyFontInfo::descent, editprescroll(), editsetscrollvalues(), getmacbuffer(), globalfontinfo, tyFontInfo::leading, popstyle(), and pushstyle().

Here is the call graph for this function:

void editsetjustification tyjustification  ,
hdleditrecord 
 

Definition at line 695 of file applettextedit.c.

References getmacbuffer(), and getTEjustification().

Referenced by setactivetextobject().

Here is the call graph for this function:

void editsetrect hdleditrecord  ,
Rect 
 

Definition at line 284 of file applettextedit.c.

References getmacbuffer(), texthorizinset, and textvertinset.

Here is the call graph for this function:

boolean editsetselection hdleditrecord  ,
short  ,
short 
 

Definition at line 590 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), and getmacbuffer().

Referenced by editselectall(), and editsettexthandle().

Here is the call graph for this function:

boolean editsettexthandle hdleditrecord  ,
Handle  ,
boolean 
 

Definition at line 874 of file applettextedit.c.

References editreplacehandle(), editsetselection(), and infinity.

Referenced by setobjectvalue().

Here is the call graph for this function:

void editsetwordwrap hdleditrecord  ,
boolean 
 

Definition at line 344 of file applettextedit.c.

References getmacbuffer().

Here is the call graph for this function:

void editupdate hdleditrecord  hbuffer  ) 
 

Definition at line 161 of file applettextedit.c.

References eraserect(), getmacbuffer(), r, rectneedsupdate(), texthorizinset, and textvertinset.

Referenced by drawobject(), and iowaupdate().

Here is the call graph for this function:

void editupdateport hdleditrecord  ,
Rect  ,
WindowPtr 
 

Definition at line 231 of file applettextedit.c.

References getmacbuffer().

Here is the call graph for this function:

boolean editvisiselection hdleditrecord   ) 
 

Definition at line 607 of file applettextedit.c.

References editprescroll(), editsetscrollvalues(), and getmacbuffer().

Here is the call graph for this function:


Generated on Wed May 31 21:44:47 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6