summaryrefslogtreecommitdiff
path: root/ide-document-link.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-05 13:55:53 -0400
committerpommicket <pommicket@gmail.com>2023-08-05 13:55:53 -0400
commit4ab3631aadcd27df708a16f6bf22953e0ff9b1cf (patch)
tree4fca0b612ae40cf8723c4c57fd0243631f7e51e7 /ide-document-link.c
parent601c081d62e0cd9c0e6750b424ecc5baa9a45b5f (diff)
internalize Line structure
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) {