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




commit 44803c7c1c28e4f345505389c52589bce65b1a57
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]