[at-spi2-core] Adding more documentation to length parameter at atspi_editable_text_insert_text



commit fadd0be0a4869a6b5d6f2af439b4c21f5da3cb5e
Author: Aline Bessa <alibezz gmail com>
Date:   Thu Aug 11 01:22:12 2011 -0300

    Adding more documentation to length parameter at atspi_editable_text_insert_text

 atspi/atspi-editabletext.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-editabletext.c b/atspi/atspi-editabletext.c
index 58ac715..6bbff91 100644
--- a/atspi/atspi-editabletext.c
+++ b/atspi/atspi-editabletext.c
@@ -88,7 +88,8 @@ atspi_editable_text_set_text_contents (AtspiEditableText *obj,
  * @text: a string representing the text to insert, in UTF-8 encoding.
  * @length:  the number of characters of text to insert. If the character
  * count of text is less than or equal to length, the entire contents
- * of text will be inserted.
+ * of text will be inserted. Passing -1 indicates that the whole string
+ * should be inserted.
  *
  * Inserts text into an #AtspiEditableText object.
  * As with all character offsets, the specified @position may not be the



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