Ignore invisible text when going to end of the previous line. (#382565)

2007-02-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
        Ignore invisible text when going to end of the previous line.
        (#382565)


svn path=/trunk/; revision=17328
This commit is contained in:
Matthias Clasen
2007-02-18 16:24:13 +00:00
committed by Matthias Clasen
parent 81748c6fba
commit d7cc776d01
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-02-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
Ignore invisible text when going to end of the previous line.
(#382565)
2007-02-18 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:

View File

@ -3189,7 +3189,8 @@ gtk_text_layout_move_iter_visually (GtkTextLayout *layout,
gtk_text_layout_free_line_display (layout, display);
display = gtk_text_layout_get_line_display (layout, line, FALSE);
new_index = _gtk_text_line_byte_count (line);
gtk_text_iter_forward_to_line_end (&lineiter);
new_index = gtk_text_iter_get_visible_line_index (&lineiter);
}
else if (new_index > byte_count)
{