[orca] Replace the last call to getTextAfterOffset() with getTextAtOffset()
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Replace the last call to getTextAfterOffset() with getTextAtOffset()
- Date: Sat, 13 Apr 2013 21:12:27 +0000 (UTC)
commit 07c0dac9afe5cd39325d40feb108a43021b55738
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Apr 13 17:11:48 2013 -0400
Replace the last call to getTextAfterOffset() with getTextAtOffset()
src/orca/scripts/toolkits/Gecko/script_utilities.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script_utilities.py
b/src/orca/scripts/toolkits/Gecko/script_utilities.py
index 5492ab2..cd2eb96 100644
--- a/src/orca/scripts/toolkits/Gecko/script_utilities.py
+++ b/src/orca/scripts/toolkits/Gecko/script_utilities.py
@@ -532,7 +532,7 @@ class Utilities(script_utilities.Utilities):
if boundary:
[string, start, end] = \
- text.getTextAfterOffset(offset, boundary)
+ text.getTextAtOffset(offset + 1, boundary)
if end == -1:
end = text.characterCount
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]