summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-07 06:50:42 -0400
committerpommicket <pommicket@gmail.com>2023-08-07 06:50:42 -0400
commitbdbce6fe3c647616d22867bbc82e011c91231dd3 (patch)
tree04267b99919214df86018066d13e8dc64c8a4bf7 /ted.h
parent81354f84a463ef782f53358a3a3f9b359ece9a64 (diff)
robust find seems to be working
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;