diff options
author | Havoc Pennington <hp@redhat.com> | 2002-02-13 23:44:03 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-02-13 23:44:03 +0000 |
commit | a760ad804e1603ca6ee7e164e6cc5dc12e0f3b41 (patch) | |
tree | 9045f4a60cf810a3111e4a6e428a4e12f20b9458 /gtk/gtktextbtree.h | |
parent | 3a4a6edb79fc111a343f2caa7892787c74416e6a (diff) | |
download | gtk+-a760ad804e1603ca6ee7e164e6cc5dc12e0f3b41.tar.gz |
just go ahead and flush all the first validate stuff if it hasn't been
2002-02-13 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush
all the first validate stuff if it hasn't been done, presumably
someone called process_updates at a weird time.
* tests/testtext.c (do_apply_colors): terminate on >= end, not >
end, avoids infinite loop when end is at the end of the buffer.
* gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a
line data, we were adding it to the wrong line ("line" instead of
"start_line")
Diffstat (limited to 'gtk/gtktextbtree.h')
-rw-r--r-- | gtk/gtktextbtree.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h index b3ae5fb93f..dea958ec37 100644 --- a/gtk/gtktextbtree.h +++ b/gtk/gtktextbtree.h @@ -1,6 +1,16 @@ #ifndef GTK_TEXT_BTREE_H #define GTK_TEXT_BTREE_H +#if 0 +#define DEBUG_VALIDATION_AND_SCROLLING +#endif + +#ifdef DEBUG_VALIDATION_AND_SCROLLING +#define DV(x) (x) +#else +#define DV(x) +#endif + #include <gtk/gtktextbuffer.h> #include <gtk/gtktexttag.h> #include <gtk/gtktextmark.h> |