diff options
author | Yevgen Muntyan <muntyan@tamu.edu> | 2007-06-01 06:25:43 +0000 |
---|---|---|
committer | Yevgen Muntyan <muntyan@src.gnome.org> | 2007-06-01 06:25:43 +0000 |
commit | 8f4aa8c6d7dd2e8ebc60683088aec23ed2806625 (patch) | |
tree | 981869bc6e3311074dc96e26de2bace806d18221 /README.in | |
parent | 5ffdc33df0b329282901ad1a410492248d32b931 (diff) | |
download | gtk+-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 'README.in')
-rw-r--r-- | README.in | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -48,6 +48,16 @@ Release notes for 2.12 GDK for drawing decorations. In particular, metacity <= 2.18.0 is affected by this. The problem has been fixed in metacity 2.18.1. +* Semi-private GtkTextLayout api has changed: new GtkTextLayout method + invalidate_cursors(), and new functions gtk_text_layout_invalidate_cursors() + and gtk_text_layout_cursors_changed(), which should be used in place of + gtk_text_layout_invalidate() and gtk_text_layout_changed() if invalidation + is due to marks moved or changed selection; new GtkTextLineDisplay structure + member. Source compatibility is preserved; binary compatibility may break + only if GtkTextLineDisplay structure was created on stack or as a part + of another structure (in particular GnomeCanvas and its clones do not need + recompiling). + Release notes for 2.10 ====================== |