orca r3568 - trunk/src/orca/scripts
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3568 - trunk/src/orca/scripts
- Date: Tue, 12 Feb 2008 20:15:27 +0000 (GMT)
Author: richb
Date: Tue Feb 12 20:15:27 2008
New Revision: 3568
URL: http://svn.gnome.org/viewvc/orca?rev=3568&view=rev
Log:
Remove bogus right bracket (causing syntax error).
Modified:
trunk/src/orca/scripts/StarOffice.py
trunk/src/orca/scripts/planner.py
Modified: trunk/src/orca/scripts/StarOffice.py
==============================================================================
--- trunk/src/orca/scripts/StarOffice.py (original)
+++ trunk/src/orca/scripts/StarOffice.py Tue Feb 12 20:15:27 2008
@@ -2603,19 +2603,23 @@
Otherwise, returns False.
"""
+ print "XXXX: Star: speakNewLine called."
# Get the the AccessibleText interface.
try:
text = obj.queryText()
except NotImplementedError:
+ print "XXXX: return [1]."
return False
# Was a left or right-arrow key pressed?
if not (orca_state.lastInputEvent and \
orca_state.lastInputEvent.__dict__.has_key("event_string")):
+ print "XXXX: return [2]."
return False
lastKey = orca_state.lastNonModifierKeyEvent.event_string
if lastKey != "Left" and lastKey != "Right":
+ print "XXXX: return [3]."
return False
# Was a control key pressed?
@@ -2639,20 +2643,25 @@
if lastKey == "Right":
if wordStart == lineStart:
+ print "XXXX: return [4]."
return True
else:
if wordEnd == lineEnd:
+ print "XXXX: return [5]."
return True
else: # right arrow or left arrow
if lastKey == "Right":
if caretOffset == lineStart:
+ print "XXXX: return [6]."
return True
else:
if caretOffset == lineEnd:
+ print "XXXX: return [7]."
return True
+ print "XXXX: return [8]."
return False
Modified: trunk/src/orca/scripts/planner.py
==============================================================================
--- trunk/src/orca/scripts/planner.py (original)
+++ trunk/src/orca/scripts/planner.py Tue Feb 12 20:15:27 2008
@@ -83,7 +83,7 @@
regions = []
indicator=\
- settings.brailleRadioButtonIndicators[brailleindicatorindex])
+ settings.brailleRadioButtonIndicators[brailleindicatorindex]
componentRegion = braille.Component(obj, text, indicator)
regions.append(componentRegion)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]