+Thu Mar 4 00:31:54 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextview.c (extend_selection):
+ * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
+ to select the last word in the buffer. (#135487, Paolo Borelli)
+
Wed Mar 3 23:54:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c: Doc update.
+Thu Mar 4 00:31:54 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextview.c (extend_selection):
+ * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
+ to select the last word in the buffer. (#135487, Paolo Borelli)
+
Wed Mar 3 23:54:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c: Doc update.
+Thu Mar 4 00:31:54 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextview.c (extend_selection):
+ * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
+ to select the last word in the buffer. (#135487, Paolo Borelli)
+
Wed Mar 3 23:54:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c: Doc update.
+Thu Mar 4 00:31:54 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextview.c (extend_selection):
+ * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
+ to select the last word in the buffer. (#135487, Paolo Borelli)
+
Wed Mar 3 23:54:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c: Doc update.
+Thu Mar 4 00:31:54 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextview.c (extend_selection):
+ * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
+ to select the last word in the buffer. (#135487, Paolo Borelli)
+
Wed Mar 3 23:54:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c: Doc update.
case GTK_MOVEMENT_WORDS:
if (count < 0)
gtk_text_iter_backward_visible_word_starts (&newplace, -count);
- else if (count > 0)
- gtk_text_iter_forward_visible_word_ends (&newplace, count);
+ else if (count > 0)
+ {
+ if (!gtk_text_iter_forward_visible_word_ends (&newplace, count))
+ gtk_text_iter_forward_to_end (&newplace);
+ }
break;
case GTK_MOVEMENT_DISPLAY_LINES:
gtk_text_iter_backward_visible_word_start (start);
if (!gtk_text_iter_ends_word (end))
- gtk_text_iter_forward_visible_word_end (end);
+ {
+ if (!gtk_text_iter_forward_visible_word_end (end))
+ gtk_text_iter_forward_to_end (end);
+ }
}
else
extend = FALSE;