diff -r 81cff971bb46 -r 075e1495157b src/gtkimhtml.c --- a/src/gtkimhtml.c Sun Oct 23 20:28:13 2005 +0000 +++ b/src/gtkimhtml.c Sun Oct 23 20:39:00 2005 +0000 @@ -753,12 +753,9 @@ &tag_area.x, &tag_area.y); - rect.width = visible_rect.width; - if (gtk_text_iter_is_end(&cur)) - rect.height = visible_rect.y + visible_rect.height - rect.y; - else - rect.height = tag_area.y + tag_area.height - rect.y - + gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(widget)); + + rect.height = tag_area.y + tag_area.height - rect.y + + gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(widget)); color = tag->name + 11;