Bugzilla – Bug 551111
Support ITextPatternRange.GetVisibleRanges
Last modified: 2010-02-16 21:00:32 UTC
Support ITextPatternRange.GetVisibleRanges. This may require changes to atk/at-spi to expose the range of text that is currently visible on the screen.
I thought that GetCharacterExtents would somehow give me enough information to implement this, but it actually behaves as if all of the text can fit on the screen (ie, placing 2000 lines of text in a TextView and then calling GetExtents on it returned [x=516, y=30, width=30, height=16000]. The height is obviously larger than the screen. So now I am not sure how this can be implemented.