[gtk+] textiter: doc precision for forward_search() and backward_search()



commit f0a481d97bc4dc7b28bdf363ef3a85b4e71d7b57
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 29 16:33:23 2013 +0200

    textiter: doc precision for forward_search() and backward_search()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703313

 gtk/gtktextiter.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index 84a0ec8..9e4dfbc 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -4859,6 +4859,9 @@ strbreakup (const char *string,
  * may wish to use @limit to avoid locking up your UI on large
  * buffers.
  *
+ * @match_start will never be set to a #GtkTextIter located before @iter, even if
+ * there is a possible @match_end after or at @iter.
+ *
  * Returns: whether a match was found
  **/
 gboolean
@@ -5180,7 +5183,10 @@ lines_window_free (LinesWindow *win)
  *
  * Same as gtk_text_iter_forward_search(), but moves backward.
  *
- * Return value: whether a match was found
+ * @match_end will never be set to a #GtkTextIter located after @iter, even if
+ * there is a possible @match_start before or at @iter.
+ *
+ * Returns: whether a match was found
  **/
 gboolean
 gtk_text_iter_backward_search (const GtkTextIter *iter,


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