[gtksourceview/wip/chergert/vim] keep iters consistent for the future



commit bfaa343b2eb446cea6ef2c9fed69e42d102c7785
Author: Christian Hergert <chergert redhat com>
Date:   Thu Oct 28 17:08:23 2021 -0700

    keep iters consistent for the future

 gtksourceview/vim/gtk-source-vim-insert.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtksourceview/vim/gtk-source-vim-insert.c b/gtksourceview/vim/gtk-source-vim-insert.c
index 51378069..1cd544e7 100644
--- a/gtksourceview/vim/gtk-source-vim-insert.c
+++ b/gtksourceview/vim/gtk-source-vim-insert.c
@@ -253,6 +253,7 @@ gtk_source_vim_insert_prepare (GtkSourceVimInsert *self)
                        gtk_text_buffer_insert (GTK_TEXT_BUFFER (buffer), &iter, self->suffix, -1);
                        gtk_text_iter_backward_chars (&iter, len);
                        gtk_source_vim_state_select (GTK_SOURCE_VIM_STATE (self), &iter, &iter);
+                       selection = iter;
                }
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]