[gtksourceview/wip/chergert/vim: 85/293] enable undo




commit 7599e760a8f495990a5aa8b50dbf5bab67178fd4
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 27 07:40:24 2021 -0700

    enable undo

 tests/test-vim.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/test-vim.c b/tests/test-vim.c
index 0abf4e4a..009be85a 100644
--- a/tests/test-vim.c
+++ b/tests/test-vim.c
@@ -48,6 +48,7 @@ load_cb (GObject      *object,
 
        gtk_text_buffer_get_start_iter (buffer, &iter);
        gtk_text_buffer_select_range (buffer, &iter, &iter);
+       gtk_text_buffer_set_enable_undo (buffer, TRUE);
 }
 
 static void


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