[pyatspi2] Add rangeToList



commit 3c96172861bb89765cee2a435d3c9f6d8f1d57a5
Author: Mike Gorse <mgorse novell com>
Date:   Mon Dec 20 18:34:08 2010 -0500

    Add rangeToList

 pyatspi/text.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pyatspi/text.py b/pyatspi/text.py
index a906534..88db181 100644
--- a/pyatspi/text.py
+++ b/pyatspi/text.py
@@ -536,5 +536,8 @@ class Text:
                 """
         characterCount = property(fget=get_characterCount, doc=_characterCountDoc)
 
+def rangeToList(r):
+        return (r.start_offset, r.end_offset)
+
 def textRangeToList(r):
         return (r.content, r.start_offset, r.end_offset)



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