[orca] Present the line rather than all object contents when navigating by landmark



commit 83a8f6c28a21ae454e398f48a0e41e768d8f8b09
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Mar 11 22:55:07 2015 -0400

    Present the line rather than all object contents when navigating by landmark
    
    A landmark, such as a form, can have quite a few children. We shouldn't
    automatically present them all upon moving to such a landmark.

 src/orca/structural_navigation.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index 54c0384..ef4d560 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -2685,7 +2685,7 @@ class StructuralNavigation:
         if obj:
             [obj, characterOffset] = self._getCaretPosition(obj)
             self._setCaretPosition(obj, characterOffset)
-            self._presentObject(obj, characterOffset)
+            self._presentLine(obj, characterOffset)
         else:
             full = messages.NO_LANDMARK_FOUND
             brief = messages.STRUCTURAL_NAVIGATION_NOT_FOUND


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]