diff options
author | Thomas White <taw@physics.org> | 2019-03-10 09:29:25 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-10 09:29:25 +0100 |
commit | 22f935dc19ff670e8168059663676d432bcaeef2 (patch) | |
tree | 87cd9a1e5a8b8cb471d8479fc5ac182115666c40 /libstorycode/gtk/gtknarrativeview.h | |
parent | b147d7a36768dc5789ff47a77fd149034ee87d69 (diff) |
Implement delete
Diffstat (limited to 'libstorycode/gtk/gtknarrativeview.h')
-rw-r--r-- | libstorycode/gtk/gtknarrativeview.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libstorycode/gtk/gtknarrativeview.h b/libstorycode/gtk/gtknarrativeview.h index 0a09175..13400db 100644 --- a/libstorycode/gtk/gtknarrativeview.h +++ b/libstorycode/gtk/gtknarrativeview.h @@ -73,9 +73,8 @@ enum drag_status struct edit_pos { int para; /* Paragraph number (corresponding to narrative items) */ - int pos; /* Byte position within paragraph - * Yes, really. See pango_layout_xy_to_index */ - int trail; + int pos; /* Byte position within paragraph (yes, really) */ + int trail; /* 1 = end of character, 0 = before */ }; |