mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
parent
44a70fc239
commit
cc910abb42
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user