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



commit 0df083f8391ba99839ca014b127b49f2ef052976
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]