summaryrefslogtreecommitdiff
path: root/vcl/headless/headlessinst.cxx
diff options
context:
space:
mode:
authorBoris Dušek <me@dusek.me>2013-08-02 00:04:35 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-08-07 19:07:33 +0000
commit58464deee44db80657885e39ead33d7ccc7dda30 (patch)
tree1100245d2aedbfccf4e4458fa6a0ea837890c04b /vcl/headless/headlessinst.cxx
parente83f61b29eb74286dbdb053bb3d067fe3e2f8073 (diff)
Fix accessibility of text attributes on OS X
The applyAttributesFrom:... method takes range parameter that specifies a range in the 'string' parameter passed to that method, not in the whole string of the UI element as retrievd in createAttributedStringForElement:... (the former string is a substring of the latter). In other words, the 'range' parameter in applyAttributesFrom: is relative to the string passed to that method, not to the whole string of the UI element. This enables proper reading of text attributes in Writer - when moving cursor through text, VoiceOver now announces e.g. "bold" or "plain" to indicate changes in text formatting. Change-Id: I21a633af0bf426759f639435581fcd3bfeafa598 Reviewed-on: https://gerrit.libreoffice.org/5236 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'vcl/headless/headlessinst.cxx')
0 files changed, 0 insertions, 0 deletions