[orca] Remove an old hack from the Gecko script. It now causes us to get stuck on some pages.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove an old hack from the Gecko script. It now causes us to get stuck on some pages.
- Date: Mon, 27 May 2013 18:42:17 +0000 (UTC)
commit 0d67dc31aace07c9d36d34ca570319469700010b
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon May 27 14:41:31 2013 -0400
Remove an old hack from the Gecko script. It now causes us to get stuck on some pages.
src/orca/scripts/toolkits/Gecko/script.py | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index fbc03c6..6f5a518 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -3940,13 +3940,7 @@ class Script(default.Script):
done = False
while not done:
[lastObj, start, end, string] = objects[-1]
-
- # The offset reported as the end offset can vary with Gecko.
- # If the offset is one bigger than we expect, we are in danger
- # of skipping over an object. Therefore, start by decrementing
- # the end offset by 1. If we find the same object, try again.
- #
- [nextObj, nOffset] = self.findNextCaretInOrder(lastObj, end - 1)
+ [nextObj, nOffset] = self.findNextCaretInOrder(lastObj, end)
if self.utilities.isSameObject(lastObj, nextObj):
[nextObj, nOffset] = \
self.findNextCaretInOrder(nextObj, nOffset)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]