Community
Participate
Working Groups
AccessibleAttributeListener's getAttributes method returns a collection of metrics about a text object, but it doesn't have enough granularity to return information about a run of text. If a text object changes alignment or justification there's no way to query whether the text at the cursor is left, right, or center aligned. To see this, run Snippet213 on 3.6 Cocoa and turn on VoiceOver. Although the alignment changes from paragraph to paragraph, we have no way of reporting the alignment to the user. Instead, we return the default alignment for the StyledText, which is SWT.LEFT.
There are a couple of ways to handle this: - extend TextStyle to have an alignment field - change AccessibleAttributeEvent so it can take an offset/line number/something as an input field. AccessibleAttributeListener.getAttributes() then needs to set the line/offset for which we are interested. - ???
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.