summaryrefslogtreecommitdiff
path: root/gtk/gtktextlayout.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-10-04 14:23:09 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-10-04 14:23:09 +0000
commit928c069883b807b67e964b90aa8dd3d5f9bc5bb2 (patch)
tree5799591cec57c1abb9fb0f156721b9e546e07fca /gtk/gtktextlayout.h
parent69ac9451a6dac6513f1325122bdf9664040267c9 (diff)
downloadgtk+-928c069883b807b67e964b90aa8dd3d5f9bc5bb2.tar.gz
clean up trailing whitespace, add extensive tests for tag toggle
2000-10-03 Havoc Pennington <hp@redhat.com> * gtk/testtextbuffer.c: clean up trailing whitespace, add extensive tests for tag toggle iteration. * gtk/gtktextiter.c (MAX_LINEAR_SCAN): decrease linear scan distance * gtk/gtktextbtree.c (gtk_text_line_next_could_contain_tag): optimize case where the tag root is on level 1 (gtk_text_line_previous_could_contain_tag): attempt to implement (gtk_text_line_next_could_contain_tag): Abstract out node_compare functionality * gtk/gtktextiter.c (gtk_text_iter_backward_to_tag_toggle): Implement this, though not very efficiently. * gtk/gtktextiterprivate.h: reformat * gtk/gtktextiter.c (gtk_text_iter_get_char): return 0 on the end iterator * gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Fix this to properly revalidate the iterators. * gtk/gtktextview.c (gtk_text_view_delete): fix control-K to work properly at the end of the line (and therefore on empty lines) * gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Gee, maybe we should return a value...
Diffstat (limited to 'gtk/gtktextlayout.h')
-rw-r--r--gtk/gtktextlayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextlayout.h b/gtk/gtktextlayout.h
index 5d812f1a99..61ad83dbf7 100644
--- a/gtk/gtktextlayout.h
+++ b/gtk/gtktextlayout.h
@@ -146,7 +146,7 @@ struct _GtkTextLineDisplay
gint bottom_margin;
gboolean size_only;
- GtkTextLine *line;
+ GtkTextLine *line;
};
extern PangoAttrType gtk_text_attr_appearance_type;