aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/gtk/gtknarrativeview.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-04-28 18:07:50 +0200
committerThomas White <taw@bitwiz.me.uk>2019-04-28 18:07:50 +0200
commit06ec128632d51750bd0ea36436145759eda4765a (patch)
tree95efd25e4a21f136febb68ccbd8ebac86e7dcdd6 /libstorycode/gtk/gtknarrativeview.h
parent691f647afa414f2ea98b236b6ea7aa909be7042f (diff)
Defer re-wrapping until redraw
This avoids repeatedly re-wrapping.
Diffstat (limited to 'libstorycode/gtk/gtknarrativeview.h')
-rw-r--r--libstorycode/gtk/gtknarrativeview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstorycode/gtk/gtknarrativeview.h b/libstorycode/gtk/gtknarrativeview.h
index fd589c5..910c60f 100644
--- a/libstorycode/gtk/gtknarrativeview.h
+++ b/libstorycode/gtk/gtknarrativeview.h
@@ -81,6 +81,7 @@ struct _gtknarrativeview
double h_scroll_pos;
int visible_height;
int visible_width;
+ int rewrap_needed;
/* Location of the cursor */
struct edit_pos cpos;