tasn pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=0da82773de41332f875216897b71aeaaa5d9f39d
commit 0da82773de41332f875216897b71aeaaa5d9f39d Author: Tom Hacohen <[email protected]> Date: Fri Aug 7 14:25:45 2015 +0100 Interface atspi text: migrate docs. --- src/lib/elm_interface_atspi_text.eo | 54 ++++++++++++++----------------------- 1 file changed, 20 insertions(+), 34 deletions(-) diff --git a/src/lib/elm_interface_atspi_text.eo b/src/lib/elm_interface_atspi_text.eo index 7191509..f5a7e58 100644 --- a/src/lib/elm_interface_atspi_text.eo +++ b/src/lib/elm_interface_atspi_text.eo @@ -5,56 +5,46 @@ interface Elm_Interface_Atspi_Text () methods { @property character @protected { get { - /*@ Gets single character present in accessible widget's text - at given offset. */ + [[Gets single character present in accessible widget's text at given offset.]] } keys { - offset: int; /*@ Position in text. */ + offset: int; [[Position in text.]] } values { - character: Eina_Unicode; /*@ Character at offset. 0 when out-of - bounds offset has been given. - Codepoints between DC80 and DCFF indicates - that string includes invalid UTF8 chars. */ + character: Eina_Unicode; [[Character at offset. 0 when out-of bounds offset has been given. Codepoints between DC80 and DCFF indicates that string includes invalid UTF8 chars.]] } } @property string @protected { get { - /*@ Gets string, start and end offset in text according to - given initial offset and granulatity. */ + [[Gets string, start and end offset in text according to given initial offset and granulatity.]] } keys { granularity: Elm_Atspi_Text_Granularity; - start_offset: int * @nonull; /*@ Offset indicating start of string - according to given granularity. - -1 in case of error. */ - end_offset: int *; /*@ Offset indicating end of string according - to given granularity. -1 in case of error. */ + start_offset: int * @nonull; [[Offset indicating start of string according to given granularity. -1 in case of error.]] + end_offset: int *; [[Offset indicating end of string according to given granularity. -1 in case of error.]] } values { - string: own(char *); /*@ Newly allocated UTF-8 encoded string. - Must be free by a user. */ + string: own(char *); [[Newly allocated UTF-8 encoded string. Must be free by a user.]] } } @property text @protected { get { - /*@ Gets text of accessible widget. */ + [[Gets text of accessible widget.]] } keys { - start_offset: int; /*@ Position in text. */ - end_offset: int; /*@ End offset of text. */ + start_offset: int; [[Position in text.]] + end_offset: int; [[End offset of text.]] } values { - text: own(char *); /*@ UTF-8 encoded text. */ + text: own(char *); [[UTF-8 encoded text.]] } } @property caret_offset @protected { get { - /*@ Gets offset position of caret (cursor) */ + [[Gets offset position of caret (cursor)]] } set { - return: bool; /*@ true if caret was successfully moved, - EINA_FASLE otherwise. */ + return: bool; [[$true if caret was successfully moved, $falseotherwise.]] } values { offset: int; @@ -62,23 +52,21 @@ interface Elm_Interface_Atspi_Text () } @property attribute @protected { get { - /*@ Indicate if a text attribute with a given name is set */ + [[Indicate if a text attribute with a given name is set]] return: bool; } keys { - name: const(char)* @nonull; /*@ text attribute name */ - start_offset: int * @nonull; /*@ Position in text from which - given attribute is set. */ - end_offset: int *; /*@ Position in text to which given attribute - is set. */ + name: const(char)* @nonull; [[text attribute name]] + start_offset: int * @nonull; [[Position in text from which given attribute is set.]] + end_offset: int *; [[Position in text to which given attribute is set.]] } values { - value: own(char *); /*@ Value of text attribute. Should be free() */ + value: own(char *); [[Value of text attribute. Should be free()]] } } @property attributes @protected { get { - /*@ Gets list of all text attributes. */ + [[Gets list of all text attributes.]] } keys { start_offset: int * @nonull; @@ -144,9 +132,7 @@ interface Elm_Interface_Atspi_Text () return: bool; } keys { - screen_coords: bool; /*@ If true x and y values will be relative - to screen origin, otherwise relative to - canvas */ + screen_coords: bool; [[If true x and y values will be relative to screen origin, otherwise relative to canvas]] start_offset: int; end_offset: int; } --
