Docs: correct code-comment for TextVars::cursor_offset

This commit is contained in:
Campbell Barton
2025-01-23 15:53:52 +11:00
parent 3f31edd4c0
commit 5f73d422ff

View File

@@ -456,7 +456,7 @@ typedef struct TextVars {
char align;
char _pad[2];
/** Offsets in bytes relative to #TextVars::text. */
/** Offsets in characters (unicode code-points) for #TextVars::text. */
int cursor_offset;
int selection_start_offset;
int selection_end_offset;