From 5fe796490718f84d20ff9c836ce75d5318d44c69 Mon Sep 17 00:00:00 2001 From: wrmr Date: Wed, 6 Nov 2024 00:04:05 -0500 Subject: add link number navigation --- doc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc.h') diff --git a/doc.h b/doc.h index 08af700..ab66272 100644 --- a/doc.h +++ b/doc.h @@ -35,6 +35,8 @@ struct doc_line *doc_line_at(struct doc *d, size_t ofs); int doc_line_prev(struct doc *d, size_t *ofs); int doc_line_next(struct doc *d, size_t *ofs); +const char *doc_get_link(struct doc *d, unsigned short lnk); + void doc_set_link(struct doc *d, unsigned short lnk); unsigned short doc_add_link(struct doc *d, const char *url); -- cgit 1.4.1-2-gfad0