summaryrefslogtreecommitdiff
path: root/src/dged/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/text.h')
-rw-r--r--src/dged/text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dged/text.h b/src/dged/text.h
index e3bb3e4..922014e 100644
--- a/src/dged/text.h
+++ b/src/dged/text.h
@@ -34,6 +34,7 @@ uint32_t text_line_size(struct text *text, uint32_t lineidx);
uint32_t text_col_to_byteindex(struct text *text, uint32_t line, uint32_t col);
uint32_t text_byteindex_to_col(struct text *text, uint32_t line,
uint32_t byteindex);
+uint32_t text_global_idx(struct text *text, uint32_t line, uint32_t col);
struct text_chunk {
uint8_t *text;