Accessibility access to visual annotation markers outside of Glyph Gutter
Andreas Stefik <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CABiHOJmrGqgYRzPyBTc=BkZJ=dp1VgPu+S8S7EpeRqkHVdC3BA@mail.gmail.com> |
All, I'm working on adding some new Accessibility features into NetBeans, namely to increase accessibility with Git Support and Code folding for the Quorum 4.0 release. In the past, when I've wanted to access visual aspects of the editor, I do things like this: BaseDocument document = (BaseDocument) text.getDocument(); Annotations docAnnotations = document.getAnnotations(); Once I have the annotations, it tells me things like whether there is a little lightbulb in the corner, compiler errors, or things like that. That's useful for making editor hints, errors, and a bunch of other things accessible. However, for GIT support and code folding, for which the visual elements are not in the glyph gutter, I'm guessing these aren't stored as annotations. Is there a way to get which visual markers are active on the line for Version control and code folding information? I've been digging through the docs, but have come up dry. Stefik P.S. The reason I ask is because blind students across the U.S. are starting to form robotics teams and we're having them use GIT, as it's mostly accessible. Thus, I'm trying to get it accessible inside of NetBeans.