summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-28 17:52:09 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-28 17:52:09 -0800
commit19a3a5ea4f73e8757b6d208f3be003bc2828e752 (patch)
tree9baf713277778e6812ae4a9b73425a18c1fe2d69 /src/node.h
parentd19558961c1b579ddb2f5c62f1b6a65be3324333 (diff)
Added end_column to cmark_node struct.
API exports cmark_node_get_column. XML writer indicates start and end line and column for block-level nodes.
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index fb3b667..c0c43d3 100644
--- a/src/node.h
+++ b/src/node.h
@@ -52,6 +52,7 @@ struct cmark_node {
int start_line;
int start_column;
int end_line;
+ int end_column;
bool open;
bool last_line_blank;