[gnome-builder] vim: use select_range helper to keep insert mark on proper character



commit 2f783661da8a3ae271c9dbcc160bd08084822342
Author: Christian Hergert <christian hergert me>
Date:   Mon Oct 6 02:08:58 2014 -0700

    vim: use select_range helper to keep insert mark on proper character

 src/editor/gb-editor-vim.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index 7a5e207..942a5bd 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -987,7 +987,7 @@ gb_editor_vim_move_matching_bracket (GbEditorVim *vim)
     {
       if (has_selection)
         {
-          gtk_text_buffer_select_range (buffer, &iter, &selection);
+          gb_editor_vim_select_range (vim, &iter, &selection);
           gb_editor_vim_ensure_anchor_selected (vim);
         }
       else


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