[orca] Slight tweak to the fix for bgo#624243 - When editing in eclipse by pressing the tab key the orca so
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Slight tweak to the fix for bgo#624243 - When editing in eclipse by pressing the tab key the orca so
- Date: Thu, 22 Jul 2010 03:22:37 +0000 (UTC)
commit 85b6fedc973c20081c7a329bfb385592ffbf29d3
Author: =?UTF-8?q?Jos=C3=A9=20Vilmar=20Est=C3=A1cio=20de=20Souza?= <vilmar informal com br>
Date: Wed Jul 21 23:21:27 2010 -0400
Slight tweak to the fix for bgo#624243 - When editing in eclipse by pressing the tab key the orca sometimes reads the contents of the line
src/orca/scripts/apps/Eclipse/script.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/Eclipse/script.py b/src/orca/scripts/apps/Eclipse/script.py
index 3e4c12f..70bce55 100644
--- a/src/orca/scripts/apps/Eclipse/script.py
+++ b/src/orca/scripts/apps/Eclipse/script.py
@@ -71,7 +71,7 @@ class Script(default.Script):
hasSelection = False
if lastKey in ["Tab", "ISO_Left_Tab"]:
[text, startOffset, endOffset] = self.utilities.selectedText(obj)
- hasSelection = startOffset > 0 or endOffset > 0
+ hasSelection = endOffset > 0
if hasSelection:
self.sayPhrase(obj, startOffset, endOffset)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]