]> Pileus Git - ~andy/gtk/commitdiff
Update the IM spot location here, if text was invalidated in the visible
authorHavoc Pennington <hp@pobox.com>
Tue, 30 Oct 2001 14:15:01 +0000 (14:15 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Tue, 30 Oct 2001 14:15:01 +0000 (14:15 +0000)
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

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextview.c

index 39fb506f9445512736edd617de2ad9cd19077ee0..e313e6392c8d087e67a7afa469559c53c102fb29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 39fb506f9445512736edd617de2ad9cd19077ee0..e313e6392c8d087e67a7afa469559c53c102fb29 100644 (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.
index 39fb506f9445512736edd617de2ad9cd19077ee0..e313e6392c8d087e67a7afa469559c53c102fb29 100644 (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.
index 39fb506f9445512736edd617de2ad9cd19077ee0..e313e6392c8d087e67a7afa469559c53c102fb29 100644 (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.
index 39fb506f9445512736edd617de2ad9cd19077ee0..e313e6392c8d087e67a7afa469559c53c102fb29 100644 (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.
index 39fb506f9445512736edd617de2ad9cd19077ee0..e313e6392c8d087e67a7afa469559c53c102fb29 100644 (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.
index 39fb506f9445512736edd617de2ad9cd19077ee0..e313e6392c8d087e67a7afa469559c53c102fb29 100644 (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.
index 39d5d740fee30911369610052f38837c84fe8e7d..51d826410bf63ef4c889ac7f688cc945e999d7f3 100644 (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);
         }
     }