orca r3485 - trunk/src/orca



Author: joanied
Date: Mon Jan 21 01:57:11 2008
New Revision: 3485
URL: http://svn.gnome.org/viewvc/orca?rev=3485&view=rev

Log:
More work on bug 506360.


Modified:
   trunk/src/orca/Gecko.py

Modified: trunk/src/orca/Gecko.py
==============================================================================
--- trunk/src/orca/Gecko.py	(original)
+++ trunk/src/orca/Gecko.py	Mon Jan 21 01:57:11 2008
@@ -7373,7 +7373,8 @@
             if o[2] - o[1] <= 1:
                 objExtents = self.getExtents(o[0], o[1], o[2])
                 if (objExtents[0] and objExtents[1]) \
-                    and not (objExtents[2] and objExtents[3]):
+                    and not (objExtents[2] and objExtents[3]) \
+                    and len(objects) > 1:
                     objects.pop(objects.index(o))
 
         # If we're in a table cell, get the remainder of the cells
@@ -8297,6 +8298,10 @@
             nextObj = self.findNextObject(nextObj)
             nextOffset = 0
             nextLine = self.getLineContentsAtOffset(nextObj, nextOffset)
+            if currentLine == nextLine:
+                # print "find next line still stuck"
+                nextObj = self.findNextObject(nextObj)
+                nextLine = self.getLineContentsAtOffset(nextObj, nextOffset)
 
         if not arrowToLineBeginning:
             extents = self.getExtents(obj,



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