summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h
index fe67e8fb3..bcdf79005 100644
--- a/render/box.h
+++ b/render/box.h
@@ -141,6 +141,8 @@ struct box {
int min_width;
int max_width; /**< Width that would be taken with no line breaks. */
+ unsigned byte_offset; /**< byte offset within a textual representation of this content */
+
char *text; /**< Text, or 0 if none. Unterminated. */
size_t length; /**< Length of text. */