summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.h
diff options
context:
space:
mode:
authorYevgen Muntyan <muntyan@tamu.edu>2007-06-01 06:25:43 +0000
committerYevgen Muntyan <muntyan@src.gnome.org>2007-06-01 06:25:43 +0000
commit8f4aa8c6d7dd2e8ebc60683088aec23ed2806625 (patch)
tree981869bc6e3311074dc96e26de2bace806d18221 /gtk/gtktextbtree.h
parent5ffdc33df0b329282901ad1a410492248d32b931 (diff)
downloadgtk+-8f4aa8c6d7dd2e8ebc60683088aec23ed2806625.tar.gz
Avoid recreating pangolayouts in GtkTextView on cursor movement (#435405,
2007-06-01 Yevgen Muntyan <muntyan@tamu.edu> Avoid recreating pangolayouts in GtkTextView on cursor movement (#435405, Behdad Esfahbod). * gtk/gtktextlayout.c: * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(), and functions gtk_text_layout_invalidate_cursors() and gtk_text_layout_cursors_changed(), to use when invalidation is due to moved marks or changed selection. * gtk/gtktextbtree.c: * gtk/gtktextbtree.h: use what's appropriate when invalidating layout. * gtk/gtk.symbols: add new functions. * README.in: added a note about changed GtkTextLayout API. svn path=/trunk/; revision=18000
Diffstat (limited to 'gtk/gtktextbtree.h')
-rw-r--r--gtk/gtktextbtree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h
index 2b2d17cba1..053d9e1a20 100644
--- a/gtk/gtktextbtree.h
+++ b/gtk/gtktextbtree.h
@@ -92,7 +92,8 @@ void _gtk_text_btree_remove_view (GtkTextBTree *tree,
gpointer view_id);
void _gtk_text_btree_invalidate_region (GtkTextBTree *tree,
const GtkTextIter *start,
- const GtkTextIter *end);
+ const GtkTextIter *end,
+ gboolean cursors_only);
void _gtk_text_btree_get_view_size (GtkTextBTree *tree,
gpointer view_id,
gint *width,