[gtksourceview] Added documentation for ::move-words signal



commit 97eb188528fbc94e6e6c2e9289b17c4cce3fe505
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Mon May 17 09:21:52 2010 +0200

    Added documentation for ::move-words signal

 gtksourceview/gtksourceview.c |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 01341ae..19f2d2f 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -561,6 +561,18 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
 			      G_TYPE_BOOLEAN,
 			      G_TYPE_INT);
 
+	/**
+	 * GtkSourceView::move-words:
+	 * @view: the #GtkSourceView which received the signal
+	 * @count: the number of words to move over
+	 *
+	 * The ::move-words signal is a keybinding which gets emitted
+	 * when the user initiates moving a word. The default binding key
+	 * is Alt+Left/Right Arrow and moves the current selection, or the current
+	 * word by one word.
+	 *
+	 * Since: 3.0
+	 */
 	signals [MOVE_WORDS] =
 		g_signal_new ("move-words",
 			      G_TYPE_FROM_CLASS (klass),
@@ -576,13 +588,15 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
 	 * GtkSourceView::smart-home-end:
 	 * @view: the #GtkSourceView
 	 * @iter: a #GtkTextIter
-	 * @step: the step size
+	 * @count: the count
 	 *
 	 * Emitted when a the cursor was moved according to the smart home
 	 * end setting. The signal is emitted after the cursor is moved, but
 	 * during the GtkTextView::move-cursor action. This can be used to find
 	 * out whether the cursor was moved by a normal home/end or by a smart
 	 * home/end.
+	 *
+	 * Since: 3.0
 	 */
 	signals[SMART_HOME_END] =
 		g_signal_new ("smart-home-end",



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