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:
committed by
Matthias Clasen
parent
81748c6fba
commit
d7cc776d01
@ -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:
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user