If at the end of the buffer, move to the end iter - parallels behavior of
Thu Jun 5 15:33:38 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line): If at the end of the buffer, move to the end iter - parallels behavior of move_iter_to_previous_line. (#81960, Padraig O'Briain)
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
Thu Jun 5 15:33:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
If at the end of the buffer, move to the end iter -
|
||||
parallels behavior of move_iter_to_previous_line.
|
||||
(#81960, Padraig O'Briain)
|
||||
|
||||
Thu Jun 5 16:12:54 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#80023, Yao Zhang, TOKUNAGA Hiroyuki
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Thu Jun 5 15:33:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
If at the end of the buffer, move to the end iter -
|
||||
parallels behavior of move_iter_to_previous_line.
|
||||
(#81960, Padraig O'Briain)
|
||||
|
||||
Thu Jun 5 16:12:54 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#80023, Yao Zhang, TOKUNAGA Hiroyuki
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Thu Jun 5 15:33:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
If at the end of the buffer, move to the end iter -
|
||||
parallels behavior of move_iter_to_previous_line.
|
||||
(#81960, Padraig O'Briain)
|
||||
|
||||
Thu Jun 5 16:12:54 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#80023, Yao Zhang, TOKUNAGA Hiroyuki
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Thu Jun 5 15:33:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
If at the end of the buffer, move to the end iter -
|
||||
parallels behavior of move_iter_to_previous_line.
|
||||
(#81960, Padraig O'Briain)
|
||||
|
||||
Thu Jun 5 16:12:54 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#80023, Yao Zhang, TOKUNAGA Hiroyuki
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Thu Jun 5 15:33:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
|
||||
If at the end of the buffer, move to the end iter -
|
||||
parallels behavior of move_iter_to_previous_line.
|
||||
(#81960, Padraig O'Briain)
|
||||
|
||||
Thu Jun 5 16:12:54 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#80023, Yao Zhang, TOKUNAGA Hiroyuki
|
||||
|
||||
@@ -2723,6 +2723,9 @@ gtk_text_layout_move_iter_to_next_line (GtkTextLayout *layout,
|
||||
line = _gtk_text_line_next_excluding_last (line);
|
||||
}
|
||||
|
||||
if (!found_after)
|
||||
gtk_text_buffer_get_end_iter (layout->buffer, iter);
|
||||
|
||||
return
|
||||
!gtk_text_iter_equal (iter, &orig) &&
|
||||
!gtk_text_iter_is_end (iter);
|
||||
|
||||
Reference in New Issue
Block a user