2001-12-07 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Text.idl
index 65c24d7..2833a21 100644 (file)
@@ -24,7 +24,6 @@ module Accessibility {
 
   enum TEXT_BOUNDARY_TYPE {
     TEXT_BOUNDARY_CHAR,
-    TEXT_BOUNDARY_CURSOR_POS,
     TEXT_BOUNDARY_WORD_START,
     TEXT_BOUNDARY_WORD_END,
     TEXT_BOUNDARY_SENTENCE_START,
@@ -44,13 +43,13 @@ module Accessibility {
                                                        out long startOffset, out long endOffset);
     string getTextAfterOffset (in long offset, in TEXT_BOUNDARY_TYPE type,
                                                        out long startOffset, out long endOffset);
-    wchar getCharacterAtOffset (in long offset); /* could be string instead
-                                                 * to allow unicode chars > 16 bits 
-                                                 */
+    unsigned long getCharacterAtOffset (in long offset);  /* long instead of wchar
+                                                          * to allow unicode chars > 16 bits 
+                                                          */
     /* void getRowColAtOffset (in long offset, out long row, out long column); */
     string getAttributes (in long offset,
                          out long startOffset, out long endOffset);
-    boolean getCharacterExtents (in long offset, out long x, out long y, out long length, out long width, in short coordType);
+    void getCharacterExtents (in long offset, out long x, out long y, out long length, out long width, in short coordType);
     long getOffsetAtPoint (in long x, in long y, in short coordType);
     long getNSelections ();
     void getSelection (in long selectionNum, out long startOffset, out long endOffset);