[gtksourceview/wip/chergert/vim] some commands cant have user actions (like undo/redo)



commit fd517d8ed1a7117d245298a7e94dcf53470e1eaa
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 29 12:40:18 2021 -0700

    some commands cant have user actions (like undo/redo)

 gtksourceview/vim/gtk-source-vim-command.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-command.c b/gtksourceview/vim/gtk-source-vim-command.c
index f346fc1b..545211ae 100644
--- a/gtksourceview/vim/gtk-source-vim-command.c
+++ b/gtksourceview/vim/gtk-source-vim-command.c
@@ -151,9 +151,7 @@ gtk_source_vim_command_repeat (GtkSourceVimState *state)
 
        gtk_source_vim_state_select (state, &iter, &selection);
 
-       gtk_text_buffer_begin_user_action (GTK_TEXT_BUFFER (buffer));
        command (self);
-       gtk_text_buffer_end_user_action (GTK_TEXT_BUFFER (buffer));
 }
 
 static void


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