Support getting AXVisibleCharacterRange accessibility attribute

Support for setting AXVisibleCharacterRange will require quite some experimenting
with how TextEdit behaves to derive the correct behavior (documentation does not
describe all aspects of this attribute when setting).

The patch is released by me into the public domain.