[gtksourceview/wip/chergert/vim] fix :delete to not grab extra line



commit 1c55368673b3d9cb2abd74adde236ed4817f43e5
Author: Christian Hergert <chergert redhat com>
Date:   Wed Nov 3 16:11:12 2021 -0700

    fix :delete to not grab extra line

 gtksourceview/vim/gtk-source-vim-command.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-command.c b/gtksourceview/vim/gtk-source-vim-command.c
index 187cc0da..3d13e86d 100644
--- a/gtksourceview/vim/gtk-source-vim-command.c
+++ b/gtksourceview/vim/gtk-source-vim-command.c
@@ -66,7 +66,6 @@ gtk_source_vim_command_delete (GtkSourceVimCommand *self)
        gtk_source_vim_state_set_can_repeat (GTK_SOURCE_VIM_STATE (self), TRUE);
 
        buffer = gtk_source_vim_state_get_buffer (GTK_SOURCE_VIM_STATE (self), &iter, &selection);
-       gtk_source_vim_state_select_linewise (GTK_SOURCE_VIM_STATE (self), &iter, &selection);
        text = gtk_text_iter_get_slice (&iter, &selection);
 
        if (gtk_text_iter_is_end (&selection) || gtk_text_iter_is_end (&iter))


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