summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 66e8c04..0551eb2 100644
--- a/ted.h
+++ b/ted.h
@@ -288,8 +288,12 @@ typedef struct {
/// position where the edit took place
BufferPos pos;
/// number of characters (unicode codepoints, including newlines) deleted
+ ///
+ /// if this is non-zero, \ref chars_inserted will be zero.
u32 chars_deleted;
/// number of characters (unicode codepoints, including newlines) inserted
+ ///
+ /// if this is non-zero, \ref chars_deleted will be zero.
u32 chars_inserted;
/// number of newlines deleted
u32 newlines_deleted;