[gtksourceview/wip/chergert/vim] move after char for paste after



commit 74d6566e2627bffb22eb9d73b7b428c9ea021333
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 29 15:52:09 2021 -0700

    move after char for paste after

 gtksourceview/vim/gtk-source-vim-command.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtksourceview/vim/gtk-source-vim-command.c b/gtksourceview/vim/gtk-source-vim-command.c
index bf7c9f75..5732ea49 100644
--- a/gtksourceview/vim/gtk-source-vim-command.c
+++ b/gtksourceview/vim/gtk-source-vim-command.c
@@ -159,6 +159,8 @@ gtk_source_vim_command_paste_after (GtkSourceVimCommand *self)
        }
        else
        {
+               gtk_text_iter_forward_char (&iter);
+
                do
                {
                        gtk_text_buffer_insert (GTK_TEXT_BUFFER (buffer), &iter, text, -1);


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