diff --git a/ChangeLog b/ChangeLog index 39fb506f9..e313e6392 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-10-30 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Update the IM spot location + here, if text was invalidated in the visible area, because the + scroll offset doesn't normally change in that case, and the mark + isn't set, just implicitly moved over as text is added/removed + Mon Oct 29 19:18:35 2001 Jonathan Blandford * gtk/gtkseparatormenuitem.c: Code cleanup. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 39fb506f9..e313e6392 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +2001-10-30 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Update the IM spot location + here, if text was invalidated in the visible area, because the + scroll offset doesn't normally change in that case, and the mark + isn't set, just implicitly moved over as text is added/removed + Mon Oct 29 19:18:35 2001 Jonathan Blandford * gtk/gtkseparatormenuitem.c: Code cleanup. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 39fb506f9..e313e6392 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2001-10-30 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Update the IM spot location + here, if text was invalidated in the visible area, because the + scroll offset doesn't normally change in that case, and the mark + isn't set, just implicitly moved over as text is added/removed + Mon Oct 29 19:18:35 2001 Jonathan Blandford * gtk/gtkseparatormenuitem.c: Code cleanup. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 39fb506f9..e313e6392 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +2001-10-30 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Update the IM spot location + here, if text was invalidated in the visible area, because the + scroll offset doesn't normally change in that case, and the mark + isn't set, just implicitly moved over as text is added/removed + Mon Oct 29 19:18:35 2001 Jonathan Blandford * gtk/gtkseparatormenuitem.c: Code cleanup. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 39fb506f9..e313e6392 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2001-10-30 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Update the IM spot location + here, if text was invalidated in the visible area, because the + scroll offset doesn't normally change in that case, and the mark + isn't set, just implicitly moved over as text is added/removed + Mon Oct 29 19:18:35 2001 Jonathan Blandford * gtk/gtkseparatormenuitem.c: Code cleanup. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 39fb506f9..e313e6392 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2001-10-30 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Update the IM spot location + here, if text was invalidated in the visible area, because the + scroll offset doesn't normally change in that case, and the mark + isn't set, just implicitly moved over as text is added/removed + Mon Oct 29 19:18:35 2001 Jonathan Blandford * gtk/gtkseparatormenuitem.c: Code cleanup. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 39fb506f9..e313e6392 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2001-10-30 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Update the IM spot location + here, if text was invalidated in the visible area, because the + scroll offset doesn't normally change in that case, and the mark + isn't set, just implicitly moved over as text is added/removed + Mon Oct 29 19:18:35 2001 Jonathan Blandford * gtk/gtkseparatormenuitem.c: Code cleanup. diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 39d5d740f..51d826410 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -2886,6 +2886,8 @@ changed_handler (GtkTextLayout *layout, if (text_view->bottom_window) text_window_invalidate_rect (text_view->bottom_window, &redraw_rect); + + gtk_text_view_update_im_spot_location (text_view); } }