OSDN Git Service

api.setFocusObject: when setting the navigator object, only set it to the actual...
authorMichael Curran <mick@kulgan.net>
Tue, 28 Sep 2010 04:25:48 +0000 (14:25 +1000)
committerMichael Curran <mick@kulgan.net>
Tue, 28 Sep 2010 04:25:48 +0000 (14:25 +1000)
commitb5b1aab15bd7e3e4f93f611ee0daef454ed15867
tree62ca864be4bc85a50927dcb82b7ef4963b602e5c
parent75bcf273ea9df2df40d5d9e1b54341b6f74d8208
api.setFocusObject: when setting the navigator object, only set it to the actual given NVDAObject if it has no tree interceptor, or the treeInterceptor is in passThrough or is transitioning. Else, use the root NVDAObject of the treeInterceptor. This makes sure that when moving around virtualBuffers wither with arrows, or quick nav, or tabbing etc, that the navigator object always remains on the actual document, and only the review cursor is at the position of the caret.
source/api.py