New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate virtual buffer pass through mode for each buffer #33

Closed
nvaccessAuto opened this Issue Jan 1, 2010 · 1 comment

Comments

Projects
None yet
2 participants
@nvaccessAuto

nvaccessAuto commented Jan 1, 2010

Reported by jteh on 2008-02-26 03:30
Currently, there is only one global virtual buffer pass through mode. This is fine if one is working with only one document. However, when working with multiple documents, it is often desirable to have different active modes for each document. For example, one might wish to fill in a form in one document while simply reading another, with the appropriate mode preserved for each document. Currently, one must constantly manually enable and disable pass through mode when switching documents.

Speaking the current mode whenever one switches to a document is undesirable. Ideally, the mode should only be spoken when switching documents causes it to change. Thus, a cache of the last mode needs to be kept and the mode will only be spoken if the cached value is different to the mode for the current buffer. In terms of implementation, there will probably be a function such as virtualBufferHandler.reportVirtualBufferPassThroughMode which is called on each gainFocus event. This will be responsible for maintaining and checking the cached mode and speaking it as appropriate.

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jan 1, 2010

Comment 3 by jteh on 2008-03-27 06:08
Implemented in r1861.
Changes:
State: closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment