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=/branches/gtk-2-10/; revision=17330
This commit is contained in:
committed by
Matthias Clasen
parent
1214848172
commit
7d2b5ec234
@@ -1,3 +1,11 @@
|
||||
2007-02-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
|
||||
Ignore invisible text when going to end of the previous line.
|
||||
(#382565)
|
||||
|
||||
2007-02-16 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
@@ -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