[gnome-builder/wip/chergert/editorsearch] editor: make # and * wrap around in vim mode



commit 2b644996ac92638ed2cddb0cade4deb61b8572ce
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 10 23:19:01 2017 -0700

    editor: make # and * wrap around in vim mode

 src/libide/editor/ide-editor-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-view.c b/src/libide/editor/ide-editor-view.c
index a636c39..d409ead 100644
--- a/src/libide/editor/ide-editor-view.c
+++ b/src/libide/editor/ide-editor-view.c
@@ -629,7 +629,7 @@ ide_editor_view_move_search (IdeEditorView    *self,
     case GTK_DIR_DOWN:
     case GTK_DIR_RIGHT:
       ide_editor_search_set_reverse (self->search, FALSE);
-      ide_editor_search_move (self->search, IDE_EDITOR_SEARCH_FORWARD);
+      ide_editor_search_move (self->search, IDE_EDITOR_SEARCH_NEXT);
       break;
 
     case GTK_DIR_TAB_FORWARD:
@@ -642,7 +642,7 @@ ide_editor_view_move_search (IdeEditorView    *self,
     case GTK_DIR_UP:
     case GTK_DIR_LEFT:
       ide_editor_search_set_reverse (self->search, TRUE);
-      ide_editor_search_move (self->search, IDE_EDITOR_SEARCH_BACKWARD);
+      ide_editor_search_move (self->search, IDE_EDITOR_SEARCH_NEXT);
       break;
 
     case GTK_DIR_TAB_BACKWARD:


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