From b84d2f1234b6a6c1fd42cab2541b563f2ad66615 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 24 Apr 2001 12:24:35 +0000 Subject: handle 0-height empty/invisible lines. 2001-04-21 Havoc Pennington * gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height empty/invisible lines. * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset) (gtk_text_iter_set_visible_line_index): new functions to set indexes excluding invisible text * gtk/gtktextlayout.c (line_display_iter_to_index): get visible index * gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index) (gtk_text_iter_get_visible_line_offset): new functions to get indexes excluding invisible text * gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a bunch of extra padding that served no purpose * gtk/gtkdialog.c: Make all the spacings configurable via style properties, for chubbiness configuration in themes * tests/testtext.c: fix path to the immodules. --- gtk/gtktextbuffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtktextbuffer.h') diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h index 54f245e8a..b6f801f11 100644 --- a/gtk/gtktextbuffer.h +++ b/gtk/gtktextbuffer.h @@ -277,7 +277,8 @@ GtkTextTag *gtk_text_buffer_create_tag (GtkTextBuffer *buffer, ...); /* Obtain iterators pointed at various places, then you can move the - iterator around using the GtkTextIter operators */ + * iterator around using the GtkTextIter operators + */ void gtk_text_buffer_get_iter_at_line_offset (GtkTextBuffer *buffer, GtkTextIter *iter, gint line_number, -- cgit v1.2.1