Pressing "a" or shift+a to navigate by annotation says "No next/previous annotation".
-
In Internet Explorer, this should search for ins/del tags.
-
In other browsers, it should report "Not supported in this document".
I think this can be generalised to all quick navigation types that aren't supported by specific VirtualBuffers. I think this can be done by having VirtualBuffer._iterNodesByType raise NotImplementedError instead of returning an empty iterator when a type is not supported.
On a related note, BrowseModeTreeInterceptor._iterNodesByType needs to document that it can raise NotImplementedError. It should probably also do this itself instead of returning an empty iterator.
Thoughts, @michaelDCurran?
Pressing "a" or shift+a to navigate by annotation says "No next/previous annotation".
In Internet Explorer, this should search for ins/del tags.
In other browsers, it should report "Not supported in this document".
I think this can be generalised to all quick navigation types that aren't supported by specific VirtualBuffers. I think this can be done by having
VirtualBuffer._iterNodesByTyperaise NotImplementedError instead of returning an empty iterator when a type is not supported.On a related note,
BrowseModeTreeInterceptor._iterNodesByTypeneeds to document that it can raise NotImplementedError. It should probably also do this itself instead of returning an empty iterator.Thoughts, @michaelDCurran?