[orca] Fix for bgo#624640 - Traceback in script_utilities.selectedText()
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#624640 - Traceback in script_utilities.selectedText()
- Date: Sun, 18 Jul 2010 00:25:46 +0000 (UTC)
commit 62554c24d50c884573229adb30625b7788c01f20
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sat Jul 17 20:25:28 2010 -0400
Fix for bgo#624640 - Traceback in script_utilities.selectedText()
src/orca/script_utilities.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index a744434..2421bef 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1913,6 +1913,7 @@ class Utilities:
"""
textContents = ""
+ startOffset = endOffset = 0
textObj = obj.queryText()
nSelections = textObj.getNSelections()
for i in range(0, nSelections):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]