forked from AuroraMiddleware/gtk
Reset the virtual cursor position. (#326003, Evert Verhellen)
2006-01-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextview.c (gtk_text_view_commit_text) (gtk_text_view_delete_from_cursor, gtk_text_view_backspace): Reset the virtual cursor position. (#326003, Evert Verhellen)
This commit is contained in:
parent
21f89fcbf7
commit
bef8f3e46c
@ -1,5 +1,9 @@
|
||||
2006-01-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_commit_text)
|
||||
(gtk_text_view_delete_from_cursor, gtk_text_view_backspace):
|
||||
Reset the virtual cursor position. (#326003, Evert Verhellen)
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add some docs
|
||||
about RGBA windows. (#326486, Benjamin Otte)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
2006-01-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_commit_text)
|
||||
(gtk_text_view_delete_from_cursor, gtk_text_view_backspace):
|
||||
Reset the virtual cursor position. (#326003, Evert Verhellen)
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add some docs
|
||||
about RGBA windows. (#326486, Benjamin Otte)
|
||||
|
||||
|
@ -5214,6 +5214,7 @@ gtk_text_view_delete_from_cursor (GtkTextView *text_view,
|
||||
}
|
||||
|
||||
gtk_text_buffer_end_user_action (get_buffer (text_view));
|
||||
gtk_text_view_set_virtual_cursor_pos (text_view, -1, -1);
|
||||
|
||||
DV(g_print (G_STRLOC": scrolling onscreen\n"));
|
||||
gtk_text_view_scroll_mark_onscreen (text_view,
|
||||
@ -5241,6 +5242,7 @@ gtk_text_view_backspace (GtkTextView *text_view)
|
||||
if (gtk_text_buffer_backspace (get_buffer (text_view), &insert,
|
||||
TRUE, text_view->editable))
|
||||
{
|
||||
gtk_text_view_set_virtual_cursor_pos (text_view, -1, -1);
|
||||
DV(g_print (G_STRLOC": scrolling onscreen\n"));
|
||||
gtk_text_view_scroll_mark_onscreen (text_view,
|
||||
gtk_text_buffer_get_mark (get_buffer (text_view), "insert"));
|
||||
@ -6726,6 +6728,7 @@ gtk_text_view_commit_text (GtkTextView *text_view,
|
||||
|
||||
gtk_text_buffer_end_user_action (get_buffer (text_view));
|
||||
|
||||
gtk_text_view_set_virtual_cursor_pos (text_view, -1, -1);
|
||||
DV(g_print (G_STRLOC": scrolling onscreen\n"));
|
||||
gtk_text_view_scroll_mark_onscreen (text_view,
|
||||
gtk_text_buffer_get_mark (get_buffer (text_view),
|
||||
|
Loading…
Reference in New Issue
Block a user