[gnome-builder/wip/libide] libide: fix vim `w` inside of word boundaries



commit 9c035cc6e92c5d55b419db78fff91e4aa13e3623
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 5 15:11:05 2015 -0800

    libide: fix vim `w` inside of word boundaries

 libide/ide-source-view-movements.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-source-view-movements.c b/libide/ide-source-view-movements.c
index 690ac3b..6670091 100644
--- a/libide/ide-source-view-movements.c
+++ b/libide/ide-source-view-movements.c
@@ -775,7 +775,7 @@ ide_source_view_movements_next_word_start (IdeSourceView         *self,
 
   copy = insert;
 
-  if (_ide_source_iter_starts_word (&insert))
+  if (!_ide_source_iter_ends_word (&insert))
     _ide_source_iter_forward_visible_word_end (&insert);
 
   if (_ide_source_iter_forward_visible_word_end (&insert))


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