 
#ifndef asmtext_DEFINED
#define asmtext_DEFINED 1
 
#ifndef class_DEFINED
#include <class.h>
#endif /* class_DEFINED */
/* 
 * This file was generated by the Andrew class system preprocessor.
 * Don't make changes to this file as it is created from asmtext.ch and will be
 * overwritten.  Make changes to asmtext.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from asmtext.ch.
 */ 
 
/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *
 *        For full copyright information see:'andrew/config/COPYRITE'     *
\* ********************************************************************** */

/*
	$Disclaimer: 
*Permission to use, copy, modify, and distribute this software and its 
*documentation for any purpose is hereby granted without fee, 
*provided that the above copyright notice appear in all copies and that 
*both that copyright notice, this permission notice, and the following 
*disclaimer appear in supporting documentation, and that the names of 
*IBM, Carnegie Mellon University, and other copyright holders, not be 
*used in advertising or publicity pertaining to distribution of the software 
*without specific, written prior permission.
*
*IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 
*DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
*ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 
*SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 
*BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
*DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
*WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
*ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
*OF THIS SOFTWARE.
* $
*/


/* asmtext.ch: Text subclass specialized for dealing with Assembly code. */

#include <mark.ih>
#include <envrment.ih>

#define MAX_BANGCHARS 32 /* arbitrary limit for how many chars can be bang-comment-starters */
#define MAX_TABSTOPS  80 /* arbitrary number for how many Tab Stops can be set in preferences */







/* 
 * End of information copied from asmtext.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
#define dontDefineRoutinesFor_srctext
#include "srctext.ih"
#undef dontDefineRoutinesFor_srctext

 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for asmtext 
 */ 
struct asmtext { 
    union {
	struct basicobject_methods *asmtext_methods;
	struct traced traced;
	struct observable observable;
	struct dataobject dataobject;
	struct simpletext simpletext;
	struct text text;
	struct srctext srctext;
    } header;
    boolean CComments;
    char bangComments[MAX_BANGCHARS+1];
    char *reindentFilterName;

};

 
/* 
 * End of data structure for asmtext.
 */ 
 

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef asmtext_PROGRAMMERVERSION
#define asmtext_PROGRAMMERVERSION 1
#endif /* asmtext_PROGRAMMERVERSION */

#ifdef asmtext_VERSION
#undef asmtext_VERSION
#endif /* asmtext_VERSION */
#define asmtext_VERSION ((((asmtext_PROGRAMMERVERSION << 16) ^ (122 << 8) ^ sizeof(struct asmtext)) & 0x7ffff) + 0x80000 + (2 << 20))


#endif /* class_StaticInfoOnly */
#define asmtext_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *asmtext__GetClassInfo(); \
 extern struct classheader *asmtext_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, asmtext_classheader_StaticExport->name, asmtext__GetClassInfo, NULL, asmtext_classheader_StaticExport->namekey); } 
 
#define asmtext_StaticLoad()  \
    { \
    srctext_StaticLoad(); \
    asmtext_StaticLoadOnlyThisClass();  \
    } 
 
#define asmtext_StaticEntry  {asmtext_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader asmtext_classheader = {
    asmtext_VERSION,
    "asmtext",
    "asmtext",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define asmtext_CLASSPROCEDURES (asmtext_classheader.classprocedures)
int asmtext_classref_;
#endif /* class_StaticInfoOnly */

#endif /* asmtext_DEFINED */

#if !defined(asmtext_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_asmtext) && !defined(class_StaticEntriesOnly)
#define asmtext_ROUTINESDEFINED

#define asmtext_Reference(self) \
 (((&(self)->header.traced))->refcount++)
#define asmtext_UnReference(self) \
 ((((&(self)->header.traced))->refcount>0)?((&(self)->header.traced))->refcount--:0)
#define asmtext_ReferenceCount(self) \
 (((&(self)->header.traced))->refcount)
#define asmtext_AddObserver(self,observer) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[0]))) (self,observer))
#define asmtext_IsObserver(self,observer) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[1]))) (self,observer))
#define asmtext_RemoveObserver(self,observer) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[2]))) (self,observer))
#define asmtext_NotifyObservers(self,value) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[3]))) (self,value))
#define asmtext_ObservedChanged(self,changed,value) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[4]))) (self,changed,value))
#define asmtext_AddRecipient(self,trigger,rcvr,func,rock) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[5]))) (self,trigger,rcvr,func,rock))
#define asmtext_DeleteRecipient(self,trigger,rcvr) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[6]))) (self,trigger,rcvr))
#define asmtext_PullTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[7]))) (self,trigger))
#define asmtext_DisableTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[8]))) (self,trigger))
#define asmtext_EnableTrigger(self,trigger) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[9]))) (self,trigger))
#define asmtext_DisableCount(self,trigger) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[10]))) (self,trigger))
#define asmtext_Read(self,file,id) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[11]))) (self,file,id))
#define asmtext_Write(self,file,writeid,level) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[12]))) (self,file,writeid,level))
#define asmtext_ReadOtherFormat(self,file,fmt,encoding,description) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[13]))) (self,file,fmt,encoding,description))
#define asmtext_WriteOtherFormat(self,file,writeid,level,usagetype,boundary) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[14]))) (self,file,writeid,level,usagetype,boundary))
#define asmtext_GetModified(self) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[15]))) (self))
#define asmtext_SetModified(self) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[16]))) (self))
#define asmtext_ViewName(self) \
    ((* ((char * (*)())((self)->header.asmtext_methods->routines[17]))) (self))
#define asmtext_SetAttributes(self,attributes) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[18]))) (self,attributes))
#define asmtext_Put(self,property,type,rock) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[19]))) (self,property,type,rock))
#define asmtext_Get(self,property,type,rock) \
    ((* ((short (*)())((self)->header.asmtext_methods->routines[20]))) (self,property,type,rock))
#define asmtext_ListCurrentViews(self,array,size) \
    ((* ((int (*)())((self)->header.asmtext_methods->routines[21]))) (self,array,size))
#define asmtext_RestoreModified(self,oldmodified) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[22]))) (self,oldmodified))
#define asmtext_UniqueID(self) \
 ((long)((&(self)->header.dataobject)))
#define asmtext_GetWriteID(self) \
 ( ((&(self)->header.dataobject))->writeID )
#define asmtext_SetWriteID(self,newValue) \
 ( (((&(self)->header.dataobject))->writeID) = (newValue) )
#define asmtext_GetID(self) \
      ( ((&(self)->header.dataobject))->id )
#define asmtext_SetID(self,newValue) \
      ( (((&(self)->header.dataobject))->id) = (newValue) )
#define asmtext_CreateMark(self,pos,length) \
    ((* ((struct mark * (*)())((self)->header.asmtext_methods->routines[23]))) (self,pos,length))
#define asmtext_RemoveMark(self,mark) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[24]))) (self,mark))
#define asmtext_SetReadOnly(self,readOnly) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[25]))) (self,readOnly))
#define asmtext_GetReadOnly(self) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[26]))) (self))
#define asmtext_RegionModified(self,pos,len) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[27]))) (self,pos,len))
#define asmtext_LengthChanged(self,pos,len) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[28]))) (self,pos,len))
#define asmtext_Clear(self) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[29]))) (self))
#define asmtext_InsertCharacters(self,pos,str,len) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[30]))) (self,pos,str,len))
#define asmtext_AlwaysInsertCharacters(self,position,string,size) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[31]))) (self,position,string,size))
#define asmtext_AddInCharacter(self,pos,c) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[32]))) (self,pos,c))
#define asmtext_DeleteCharacters(self,pos,len) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[33]))) (self,pos,len))
#define asmtext_AlwaysDeleteCharacters(self,position,size) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[34]))) (self,position,size))
#define asmtext_ReplaceCharacters(self,pos,len,repStr,repLen) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[35]))) (self,pos,len,repStr,repLen))
#define asmtext_AlwaysReplaceCharacters(self,pos,len,repStr,repLen) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[36]))) (self,pos,len,repStr,repLen))
#define asmtext_GetLength(self) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[37]))) (self))
#define asmtext_GetChar(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[38]))) (self,pos))
#define asmtext_GetUnsignedChar(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[39]))) (self,pos))
#define asmtext_GetBuf(self,pos,len,lenp) \
    ((* ((char * (*)())((self)->header.asmtext_methods->routines[40]))) (self,pos,len,lenp))
#define asmtext_GetBufEnd(self,endpos,len,lenp) \
    ((* ((char * (*)())((self)->header.asmtext_methods->routines[41]))) (self,endpos,len,lenp))
#define asmtext_GetGap(self,pos,len) \
    ((* ((char * (*)())((self)->header.asmtext_methods->routines[42]))) (self,pos,len))
#define asmtext_GetPosForLine(self,line) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[43]))) (self,line))
#define asmtext_GetLineForPos(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[44]))) (self,pos))
#define asmtext_GetBeginningOfLine(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[45]))) (self,pos))
#define asmtext_GetEndOfLine(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[46]))) (self,pos))
#define asmtext_CopyText(self,pos,srctext,srcpos,len) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[47]))) (self,pos,srctext,srcpos,len))
#define asmtext_AlwaysCopyText(self,pos,srctext,srcpos,len) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[48]))) (self,pos,srctext,srcpos,len))
#define asmtext_Index(self,pos,c,len) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[49]))) (self,pos,c,len))
#define asmtext_Strncmp(self,pos,str,len) \
    ((* ((int (*)())((self)->header.asmtext_methods->routines[50]))) (self,pos,str,len))
#define asmtext_Textncmp(self,pos,text,pos2,len) \
    ((* ((int (*)())((self)->header.asmtext_methods->routines[51]))) (self,pos,text,pos2,len))
#define asmtext_ReadSubString(self,pos,file,quoteCharacters) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[52]))) (self,pos,file,quoteCharacters))
#define asmtext_WriteSubString(self,pos,len,file,quoteCharacters) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[53]))) (self,pos,len,file,quoteCharacters))
#define asmtext_CopySubString(self,pos,len,buf,quoteCharacters) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[54]))) (self,pos,len,buf,quoteCharacters))
#define asmtext_HandleDataObject(self,pos,dop,file) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[55]))) (self,pos,dop,file))
#define asmtext_HandleKeyWord(self,pos,keyword,file) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[56]))) (self,pos,keyword,file))
#define asmtext_HandleCloseBrace(self,pos,file) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[57]))) (self,pos,file))
#define asmtext_HandleBegindata(self,pos,file) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[58]))) (self,pos,file))
#define asmtext_CheckHighBit(self) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[59]))) (self))
#define asmtext_CopyTextExactly(self,pos,srctext,srcpos,len) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[60]))) (self,pos,srctext,srcpos,len))
#define asmtext_AlwaysCopyTextExactly(self,pos,srctext,srcpos,len) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[61]))) (self,pos,srctext,srcpos,len))
#define asmtext_GetFence(self) \
 mark_GetLength(((&(self)->header.simpletext))->fence)
#define asmtext_SetFence(self,pos) \
 mark_SetLength(((&(self)->header.simpletext))->fence, pos)
#define asmtext_ClearFence(self) \
 mark_SetLength(((&(self)->header.simpletext))->fence, 0L)
#define asmtext_GetFenceMark(self) \
 (((&(self)->header.simpletext))->fence)
#define asmtext_GetObjectInsertionFlag(self) \
 (((&(self)->header.simpletext))->objectInsertionAllowed)
#define asmtext_SetObjectInsertionFlag(self,flag) \
 (((&(self)->header.simpletext))->objectInsertionAllowed = (flag))
#define asmtext_InsertObject(self,pos,name,viewname) \
    ((* ((struct viewref * (*)())((self)->header.asmtext_methods->routines[62]))) (self,pos,name,viewname))
#define asmtext_AddStyle(self,pos,len,style) \
    ((* ((struct environment * (*)())((self)->header.asmtext_methods->routines[63]))) (self,pos,len,style))
#define asmtext_AddView(self,pos,viewtype,dataobject) \
    ((* ((struct environment * (*)())((self)->header.asmtext_methods->routines[64]))) (self,pos,viewtype,dataobject))
#define asmtext_AlwaysAddStyle(self,pos,len,style) \
    ((* ((struct environment * (*)())((self)->header.asmtext_methods->routines[65]))) (self,pos,len,style))
#define asmtext_AlwaysAddView(self,pos,viewtype,dataobject) \
    ((* ((struct environment * (*)())((self)->header.asmtext_methods->routines[66]))) (self,pos,viewtype,dataobject))
#define asmtext_SetEnvironmentStyle(self,envptr,styleptr) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[67]))) (self,envptr,styleptr))
#define asmtext_SetGlobalStyle(self,styleptr) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[68]))) (self,styleptr))
#define asmtext_GetGlobalStyle(self) \
    ((* ((struct style * (*)())((self)->header.asmtext_methods->routines[69]))) (self))
#define asmtext_ReadTemplate(self,templateName,inserttemplatetext) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[70]))) (self,templateName,inserttemplatetext))
#define asmtext_FindViewreference(self,pos,len) \
    ((* ((struct viewref * (*)())((self)->header.asmtext_methods->routines[71]))) (self,pos,len))
#define asmtext_AlwaysInsertFile(self,file,filename,position) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[72]))) (self,file,filename,position))
#define asmtext_InsertFile(self,file,filename,position) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[73]))) (self,file,filename,position))
#define asmtext_ClearCompletely(self) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[74]))) (self))
#define asmtext_EnumerateEnvironments(self,pos,len,callBack,rock) \
    ((* ((struct environment * (*)())((self)->header.asmtext_methods->routines[75]))) (self,pos,len,callBack,rock))
#define asmtext_SetBaseTemplateName(self,name) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[76]))) (self,name))
#define asmtext_AlwaysWrapViewChar(self,pos,view,dobj) \
    ((* ((struct environment * (*)())((self)->header.asmtext_methods->routines[77]))) (self,pos,view,dobj))
#define asmtext_SetExportEnvironments(self,val) \
 ((&(self)->header.text)->exportEnvs = val)
#define asmtext_GetExportEnvironments(self) \
 ((&(self)->header.text)->exportEnvs)
#define asmtext_GetStyleSheet(self) \
 ((&(self)->header.text)->styleSheet)
#define asmtext_SetWriteAsText(self,TorF) \
  (((&(self)->header.text))->WriteAsText = TorF)
#define asmtext_GetWriteAsText(self) \
  (((&(self)->header.text))->WriteAsText)
#define asmtext_SetCopyAsText(self,TorF) \
  (((&(self)->header.text))->CopyAsText = TorF)
#define asmtext_GetCopyAsText(self) \
  (((&(self)->header.text))->CopyAsText)
#define asmtext_GetWriteStyle(self) \
 (((&(self)->header.text))->writeStyle)
#define asmtext_SetWriteStyle(self,style) \
 (((&(self)->header.text))->writeStyle = style)
#define asmtext_GetBaseTemplateName(self) \
 (((&(self)->header.text))->templateName)
#define asmtext_BackwardCheckWord(self,from,to) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[78]))) (self,from,to))
#define asmtext_CheckComment(self,start) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[79]))) (self,start))
#define asmtext_CheckLinecomment(self,start) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[80]))) (self,start))
#define asmtext_CheckString(self,start) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[81]))) (self,start))
#define asmtext_CheckWord(self,i,end) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[82]))) (self,i,end))
#define asmtext_InCommentStart(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[83]))) (self,pos))
#define asmtext_Indentation(self,pos) \
    ((* ((int (*)())((self)->header.asmtext_methods->routines[84]))) (self,pos))
#define asmtext_IsTokenChar(self,ch) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[85]))) (self,ch))
#define asmtext_Keywordify(self,buff,checkforceupper) \
    ((* ((char * (*)())((self)->header.asmtext_methods->routines[86]))) (self,buff,checkforceupper))
#define asmtext_RedoStyles(self) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[87]))) (self))
#define asmtext_BackwardCheckLabel(self,pos) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[88]))) (self,pos))
#define asmtext_BackwardCopyWord(self,from,to,buffer) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[89]))) (self,from,to,buffer))
#define asmtext_BackwardSkipString(self,pos,delim) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[90]))) (self,pos,delim))
#define asmtext_Breakable(self,pos) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[91]))) (self,pos))
#define asmtext_BreakLine(self,endofline) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[92]))) (self,endofline))
#define asmtext_CheckLineLengths(self,maxlen,view) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[93]))) (self,maxlen,view))
#define asmtext_CopyWord(self,pos,end,buffer) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[94]))) (self,pos,end,buffer))
#define asmtext_CurrentIndent(self,pos) \
    ((* ((int (*)())((self)->header.asmtext_methods->routines[95]))) (self,pos))
#define asmtext_CurrentColumn(self,pos) \
    ((* ((int (*)())((self)->header.asmtext_methods->routines[96]))) (self,pos))
#define asmtext_DoMatch(self,pos,str,len) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[97]))) (self,pos,str,len))
#define asmtext_ExtendToOutdent(self,indent,pos,len) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[98]))) (self,indent,pos,len))
#define asmtext_FindSrcInsets(self) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[99]))) (self))
#define asmtext_GetEnvironment(self,pos) \
    ((* ((struct environment * (*)())((self)->header.asmtext_methods->routines[100]))) (self,pos))
#define asmtext_GetStyle(self,pos) \
    ((* ((struct style * (*)())((self)->header.asmtext_methods->routines[101]))) (self,pos))
#define asmtext_GetToken(self,pos,len) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[102]))) (self,pos,len))
#define asmtext_Indent(self,range) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[103]))) (self,range))
#define asmtext_InString(self,pos) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[104]))) (self,pos))
#define asmtext_JustInsertCharacters(self,pos,str,len) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[105]))) (self,pos,str,len))
#define asmtext_LinesTooLong(self,maxlen) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[106]))) (self,maxlen))
#define asmtext_NextTabStop(self,curcol) \
    ((* ((int (*)())((self)->header.asmtext_methods->routines[107]))) (self,curcol))
#define asmtext_OutputSrcInset(self,file,writeID,inset) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[108]))) (self,file,writeID,inset))
#define asmtext_OverstrikeAChar(self,pos) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[109]))) (self,pos))
#define asmtext_Quoted(self,pos) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[110]))) (self,pos))
#define asmtext_ReflowComment(self,pos) \
    ((* ((boolean (*)())((self)->header.asmtext_methods->routines[111]))) (self,pos))
#define asmtext_ReindentLine(self,pos) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[112]))) (self,pos))
#define asmtext_RemoveStyles(self) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[113]))) (self))
#define asmtext_ReverseBalance(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[114]))) (self,pos))
#define asmtext_SetWriteCallbacks(self,pre,post) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[115]))) (self,pre,post))
#define asmtext_SetupStyles(self) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[116]))) (self))
#define asmtext_SkipWhitespace(self,pos,end) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[117]))) (self,pos,end))
#define asmtext_TabAndOptimizeWS(self,pos,inc) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[118]))) (self,pos,inc))
#define asmtext_TranslateSrcInset(self,pos) \
    ((* ((long (*)())((self)->header.asmtext_methods->routines[119]))) (self,pos))
#define asmtext_WrapStyle(self,pos,len,style,begflag,endflag) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[120]))) (self,pos,len,style,begflag,endflag))
#define asmtext_WrapStyleNow(self,pos,len,style,begflag,endflag) \
    ((* ((void (*)())((self)->header.asmtext_methods->routines[121]))) (self,pos,len,style,begflag,endflag))
#define asmtext_GetForceUpper(self) \
 (((&(self)->header.srctext))->forceUpper)
#define asmtext_SetForceUpper(self,newValue) \
 ((((&(self)->header.srctext))->forceUpper) = (newValue))
#define asmtext_GetMaxLineLength(self) \
 (((&(self)->header.srctext))->maxlinelength)
#define asmtext_SetMaxLineLength(self,newValue) \
 ((((&(self)->header.srctext))->maxlinelength)= (newValue))
#define asmtext_IndentingEnabled(self) \
 (((&(self)->header.srctext))->indentingEnabled)
#define asmtext_IsInOverstrikeMode(self) \
 (((&(self)->header.srctext))->OverstrikeMode) /*RSK91overstrike*/
#define asmtext_ChangeOverstrikeMode(self,newValue) \
 ((((&(self)->header.srctext))->OverstrikeMode) = (newValue)) /*RSK91overstrike*/
#define asmtext_SetCComments(self,newValue) \
 ((((self))->CComments) = (newValue))
#define asmtext_UseCComments(self) \
 (((self))->CComments)
#define asmtext_HasReindentFilter(self) \
 (((self))->reindentFilterName!=NULL && *(((self))->reindentFilterName)!='\0')
#define asmtext_ReindentFilterName(self) \
 (((self))->reindentFilterName)

#define asmtext_NewFromObject(self) \
    ((* ((struct asmtext * (*)())((self)->header.asmtext_methods->info->procs->routines[0]))) (&asmtext_classheader, (self)->header.asmtext_methods->info->versionnumber))
#define asmtext_New() \
    (*((struct asmtext * (*)()) (asmtext_CLASSPROCEDURES->routines[0])))(&asmtext_classheader,asmtext_VERSION)
#define asmtext_Initialize(self) \
    (*((void (*)()) (asmtext_CLASSPROCEDURES->routines[2])))(&asmtext_classheader,self, asmtext_VERSION)

#define asmtext_Destroy(self) \
    ((* ((void (*)()) ((self)->header.asmtext_methods->info->procs->routines[1]))) (&asmtext_classheader, self))
#define asmtext_Finalize(self) \
    (*((void (*)()) (asmtext_CLASSPROCEDURES->routines[3])))(&asmtext_classheader,self)

#define asmtext_InitializeObject(self) \
    (*((boolean (*)()) (asmtext_CLASSPROCEDURES->routines[5])))(&asmtext_classheader,self)
#define asmtext_InitializeClass() \
    (*((boolean (*)()) (asmtext_CLASSPROCEDURES->routines[6])))(&asmtext_classheader)


#endif /* !defined(asmtext_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_asmtext ) && !defined(class_StaticEntriesOnly)*/

