Community
Participate
Working Groups
20080514 Mac OS X Carbon Run Eclipse (at least I20080513-2000) and open an editor on any java file. Turn on VoiceOver (command+F5). Use the down arrow key to move the cursor down to the next line. VoiceOver reads the whole file again, every time up or down arrow is typed. Also: the ctrl+alt+L VoiceOver command should just read the current line, but it reads the whole file. I am not sure which attribute VoiceOver wants in order to determine what the current line is, but it is likely one of the following: - kAXInsertionPointLineNumberAttribute (not a required attribute) - kAXLineForIndexParameterizedAttribute (given a character index, return line#) - kAXRangeForLineParameterizedAttribute (given a line#, return range of character indices)
Created attachment 101294 [details] _patch.txt This patch fixes the problem by handling the following 2 attributes in Accessible: 1) kAXInsertionPointLineNumberAttribute - asks for the value and the caret offset, and counts newlines in the value to find out what line the caret is on. 2) kAXRangeForLineParameterizedAttribute - asks for the value, and counts newlines up to the specified line number in order to find the start character and number of characters on the specified line.
SSQ and DN, please drop by for a demo and review of this patch for RC2.
Fixed > 20080521 and the fix will be in 3.4 RC2.