summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index e010ad43..0c24302f 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -172,6 +172,11 @@ iRangecc findLoc_GmRun (const iGmRun *, iInt2 pos);
172iDeclareClass(GmDocument) 172iDeclareClass(GmDocument)
173iDeclareObjectConstruction(GmDocument) 173iDeclareObjectConstruction(GmDocument)
174 174
175enum iGmDocumentWarning {
176 ansiEscapes_GmDocumentWarning = iBit(1),
177 missingGlyphs_GmDocumentWarning = iBit(2),
178};
179
175/* 180/*
176enum iGmDocumentBanner { 181enum iGmDocumentBanner {
177 none_GmDocumentBanner, 182 none_GmDocumentBanner,
@@ -221,6 +226,7 @@ iInt2 size_GmDocument (const iGmDocument *);
221const iArray * headings_GmDocument (const iGmDocument *); /* array of GmHeadings */ 226const iArray * headings_GmDocument (const iGmDocument *); /* array of GmHeadings */
222const iString * source_GmDocument (const iGmDocument *); 227const iString * source_GmDocument (const iGmDocument *);
223size_t memorySize_GmDocument (const iGmDocument *); /* bytes */ 228size_t memorySize_GmDocument (const iGmDocument *); /* bytes */
229int warnings_GmDocument (const iGmDocument *);
224 230
225iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start); 231iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start);
226iRangecc findTextBefore_GmDocument (const iGmDocument *, const iString *text, const char *before); 232iRangecc findTextBefore_GmDocument (const iGmDocument *, const iString *text, const char *before);