summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-27 08:58:21 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-27 08:58:21 +0300
commit37a0c2c473799982364cd5a3b6a49bf6553126c9 (patch)
tree69242dd71a7b85fb88a484872d0f7265af7c5654 /src/gmdocument.h
parent9b078897b581e7a9108d5ffab83f3c0a4ec720ee (diff)
Finding previous text
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index 01ade5d3..6972d328 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -28,7 +28,9 @@ typedef void (*iGmDocumentRenderFunc)(void *, const iGmRun *);
28void render_GmDocument (const iGmDocument *, iRangei visRangeY, iGmDocumentRenderFunc render, void *); 28void render_GmDocument (const iGmDocument *, iRangei visRangeY, iGmDocumentRenderFunc render, void *);
29iInt2 size_GmDocument (const iGmDocument *); 29iInt2 size_GmDocument (const iGmDocument *);
30 30
31iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start); 31iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start);
32iRangecc findTextBefore_GmDocument (const iGmDocument *, const iString *text, const char *before);
33
32const iGmRun * findRun_GmDocument (const iGmDocument *, iInt2 pos); 34const iGmRun * findRun_GmDocument (const iGmDocument *, iInt2 pos);
33const iGmRun * findRunCStr_GmDocument (const iGmDocument *, const char *textCStr); 35const iGmRun * findRunCStr_GmDocument (const iGmDocument *, const char *textCStr);
34const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId); 36const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId);