Update the IM spot location here, if text was invalidated in the visible

2001-10-30  Havoc Pennington  <hp@pobox.com>

	* 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
This commit is contained in:
Havoc Pennington 2001-10-30 14:15:01 +00:00 committed by Havoc Pennington
parent 44a70fc239
commit cc910abb42
8 changed files with 51 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2001-10-30 Havoc Pennington <hp@pobox.com>
* 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 <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.

View File

@ -1,3 +1,10 @@
2001-10-30 Havoc Pennington <hp@pobox.com>
* 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 <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.

View File

@ -1,3 +1,10 @@
2001-10-30 Havoc Pennington <hp@pobox.com>
* 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 <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.

View File

@ -1,3 +1,10 @@
2001-10-30 Havoc Pennington <hp@pobox.com>
* 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 <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.

View File

@ -1,3 +1,10 @@
2001-10-30 Havoc Pennington <hp@pobox.com>
* 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 <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.

View File

@ -1,3 +1,10 @@
2001-10-30 Havoc Pennington <hp@pobox.com>
* 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 <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.

View File

@ -1,3 +1,10 @@
2001-10-30 Havoc Pennington <hp@pobox.com>
* 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 <jrb@redhat.com>
* gtk/gtkseparatormenuitem.c: Code cleanup.

View File

@ -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);
}
}