summaryrefslogtreecommitdiff
path: root/ide-document-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide-document-link.c')
-rw-r--r--ide-document-link.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ide-document-link.c b/ide-document-link.c
index 731089c..7f5e476 100644
--- a/ide-document-link.c
+++ b/ide-document-link.c
@@ -1,5 +1,12 @@
#include "ted.h"
+struct DocumentLink {
+ char *target;
+ char *tooltip;
+ BufferPos start;
+ BufferPos end;
+};
+
void document_link_clear(Ted *ted) {
DocumentLinks *dl = &ted->document_links;
arr_foreach_ptr(dl->links, DocumentLink, l) {