orca r3484 - in trunk: . src/orca



Author: joanied
Date: Sun Jan 20 23:44:58 2008
New Revision: 3484
URL: http://svn.gnome.org/viewvc/orca?rev=3484&view=rev

Log:
* src/orca/Gecko.py: 
  Work on bug #506360 - find{Next,Previous}Line() should be
  more efficient. 


Modified:
   trunk/ChangeLog
   trunk/src/orca/Gecko.py

Modified: trunk/src/orca/Gecko.py
==============================================================================
--- trunk/src/orca/Gecko.py	(original)
+++ trunk/src/orca/Gecko.py	Sun Jan 20 23:44:58 2008
@@ -7353,7 +7353,8 @@
                     line = text.getTextAtOffset(offset, boundary)
                     singleLine = (line[1] == 0) \
                              and (line[2] == text.characterCount)
-                    if not singleLine:
+                    if not singleLine \
+                       or role == pyatspi.ROLE_SECTION == sibling.getRole():
                         break
 
             obj = sibling



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