; File:  E16.TextEdit
;
;
; Copyright Apple Computer, Inc. 1986-90
; All Rights Reserved
;
;
teAlreadyStarted EQU $2201
teNotStarted EQU $2202
teInvalidHandle EQU $2203
teInvalidVerb EQU $2204
teInvalidFlag EQU $2205
teInvalidPCount EQU $2206
teInvalidRect EQU $2207
teBufferOverflow EQU $2208
teInvalidLine EQU $2209
teInvalidCall EQU $220A
NullVerb EQU $0000
PStringVerb EQU $0001
CStringVerb EQU $0002
C1InputVerb EQU $0003
C1OutputVerb EQU $0004
HandleVerb EQU $0005
PointerVerb EQU $0006
NewPStringVerb EQU $0007
fEqualLineSpacing EQU $8000
fShowInvisibles EQU $4000
teInvalidDescriptor EQU $2204
teInvalidParameter EQU $220B
teInvalidTextBox2 EQU $220C
teNeedsTools EQU $220D
teEqualLineSpacing EQU $8000
teShowInvisibles EQU $4000
leftJust EQU $0000
rightJust EQU $FFFF
centerJust EQU $0001
fullJust EQU $0002
noTabs EQU $0000
stdTabs EQU $0001  ; Tabs every tabTerminator pixels
absTabs EQU $0002  ; Tabs at absolute location specified by theTabs array
fCtlInvis EQU $0080
fRecordDirty EQU $0040
teLeftTab EQU $0000
teCenterTab EQU $0001
teRightTab EQU $0002
teDecimalTab EQU $0003
fNotControl EQU $80000000  ; TextEdit record is not a control
fSingleFormat EQU $40000000  ; Only one ruler is allowed for record
fSingleStyle EQU $20000000  ; Only one style is allowed for record
fNoWordWrap EQU $10000000  ; No word wrap is performed
fNoScroll EQU $08000000  ; The text cannot scroll
fReadOnly EQU $04000000  ; The text cannot be edited
fSmartCutPaste EQU $02000000  ; Record supports intelligent cut and paste
fTabSwitch EQU $01000000  ; Tab key switches user to next TextEdit record on the screen
fDrawBounds EQU $00800000  ; TextEdit draw a box around text
fColorHilight EQU $00400000  ; Use color table for highlighting
fGrowRuler EQU $00200000  ; Adjust right margin whenever window size changes
fDisableSelection EQU $00100000  ; User cannot select or edit text
fDrawInactiveSelection EQU $00080000  ; TextEdit displays a box around an inactive selection
teCtlColorIsPtr EQU $0000
teCtlColorIsHandle EQU $0004
teCtlColorIsResource EQU $0008
teCtlStyleIsPtr EQU $0000
teCtlStyleIsHandle EQU $0001
teCtlStyleIsResource EQU $0002
teRefIsPtr EQU $0000
teRefIsHandle EQU $0001
teRefIsResource EQU $0002
teRefIsNewHandle EQU $0003
teDataIsPString EQU $0000
teDataIsCString EQU $0001
teDataIsC1Input EQU $0002
teDataIsC1Output EQU $0003
teDataIsTextBox2 EQU $0004
teDataIsTextBlock EQU $0005
teTextIsPtr EQU $0000
teTextIsHandle EQU $0008
teTextIsResource EQU $0010
teTextIsNewHandle EQU $0018
fLeaveError EQU $0000  ; Leave the last error code intact
fClearError EQU $FFFF  ; Clear the last error code
teInvis EQU $4000
tePartialLines EQU $8000
teDontDraw EQU $4000
teUseFont EQU $0020
teUseSize EQU $0010
teUseForeColor EQU $0008
teUseBackColor EQU $0004
teUseUserData EQU $0002
teUseAttributes EQU $0001
teReplaceFont EQU $0040
teReplaceSize EQU $0020
teReplaceForeColor EQU $0010
teReplaceBackColor EQU $0008
teReplaceUserField EQU $0004
teReplaceAttributes EQU $0002
teSwitchAttributes EQU $0001
doEraseRect EQU $0001
doEraseBuffer EQU $0002
doRectChanged EQU $0003
doKeyStroke EQU $0004
teScrollAbsTop EQU $0000
teScrollAbsCenter EQU $0001
teScrollLineTop EQU $0002
teScrollLineCenter EQU $0003
teScrollAbsUnit EQU $0004
teScrollRelUnit EQU $0005
