summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-26 22:00:14 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-26 22:00:14 +0300
commit6d8d188237324fc1379859251ca66f1ba4247589 (patch)
tree1c7f95edf7ad96bf80c4586271ce0e869c989147 /src/gmdocument.h
parentbe6438af11dec5ee10b68fe315b3bc74d2877f8e (diff)
Finding text in the document
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index 22e614ea..01ade5d3 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -28,6 +28,8 @@ 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
31const iGmRun * findRun_GmDocument (const iGmDocument *, iInt2 pos); 31iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start);
32const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId); 32const iGmRun * findRun_GmDocument (const iGmDocument *, iInt2 pos);
33const iString * title_GmDocument (const iGmDocument *); 33const iGmRun * findRunCStr_GmDocument (const iGmDocument *, const char *textCStr);
34const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId);
35const iString * title_GmDocument (const iGmDocument *);