[gnome-builder/wip/libide] libide: spellcheck anyone?



commit 9c4dca062d966b126461e6d87d8baef45785a38b
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 5 00:07:45 2015 -0800

    libide: spellcheck anyone?

 data/keybindings/vim.css           |    6 +++---
 libide/ide-source-view-movements.c |    4 ++--
 libide/ide-source-view.h           |    8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 4a69204..2904846 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -74,9 +74,9 @@
   bind "braceleft" { "movement" (paragraph-start, 0) };
   bind "braceright" { "movement" (paragraph-end, 0) };
 
-  /* move by sentance */
-  bind "parenleft" { "movement" (sentance-start, 0) };
-  bind "parenright" { "movement" (sentance-end, 0) };
+  /* move by sentence */
+  bind "parenleft" { "movement" (sentence-start, 0) };
+  bind "parenright" { "movement" (sentence-end, 0) };
 
   /* move to line offset of zero, and first non-whitespace char, end of line */
   bind "0" { "movement" (first-char, 0) };
diff --git a/libide/ide-source-view-movements.c b/libide/ide-source-view-movements.c
index 5b8547f..690ac3b 100644
--- a/libide/ide-source-view-movements.c
+++ b/libide/ide-source-view-movements.c
@@ -1076,11 +1076,11 @@ _ide_source_view_apply_movement (IdeSourceView         *self,
       ide_source_view_movements_next_word_end (self, movement, extend_selection, param);
       break;
 
-    case IDE_SOURCE_VIEW_MOVEMENT_SENTANCE_START:
+    case IDE_SOURCE_VIEW_MOVEMENT_SENTENCE_START:
       ide_source_view_movements_sentence_start (self, movement, extend_selection, param);
       break;
 
-    case IDE_SOURCE_VIEW_MOVEMENT_SENTANCE_END:
+    case IDE_SOURCE_VIEW_MOVEMENT_SENTENCE_END:
       ide_source_view_movements_sentence_end (self, movement, extend_selection, param);
       break;
 
diff --git a/libide/ide-source-view.h b/libide/ide-source-view.h
index bcc3ae6..62a04dd 100644
--- a/libide/ide-source-view.h
+++ b/libide/ide-source-view.h
@@ -65,8 +65,8 @@ typedef enum
  * @IDE_SOURCE_VIEW_MOVEMENT_NEXT_WORD_START: move to beginning of next word.
  * @IDE_SOURCE_VIEW_MOVEMENT_PREVIOUS_WORD_END: move to end of previous word.
  * @IDE_SOURCE_VIEW_MOVEMENT_NEXT_WORD_END: move to end of next word.
- * @IDE_SOURCE_VIEW_MOVEMENT_SENTANCE_START: move to beginning of sentance.
- * @IDE_SOURCE_VIEW_MOVEMENT_SENTANCE_END: move to end of sentance.
+ * @IDE_SOURCE_VIEW_MOVEMENT_SENTENCE_START: move to beginning of sentance.
+ * @IDE_SOURCE_VIEW_MOVEMENT_SENTENCE_END: move to end of sentance.
  * @IDE_SOURCE_VIEW_MOVEMENT_PARAGRAPH_START: move to start of paragraph.
  * @IDE_SOURCE_VIEW_MOVEMENT_PARAGRAPH_END: move to end of paragraph.
  * @IDE_SOURCE_VIEW_MOVEMENT_PREVIOUS_LINE: move to previous line, keeping line offset if possible.
@@ -118,8 +118,8 @@ typedef enum
   IDE_SOURCE_VIEW_MOVEMENT_NEXT_WORD_END,
   IDE_SOURCE_VIEW_MOVEMENT_NEXT_FULL_WORD_END,
 
-  IDE_SOURCE_VIEW_MOVEMENT_SENTANCE_START,
-  IDE_SOURCE_VIEW_MOVEMENT_SENTANCE_END,
+  IDE_SOURCE_VIEW_MOVEMENT_SENTENCE_START,
+  IDE_SOURCE_VIEW_MOVEMENT_SENTENCE_END,
 
   IDE_SOURCE_VIEW_MOVEMENT_PARAGRAPH_START,
   IDE_SOURCE_VIEW_MOVEMENT_PARAGRAPH_END,


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