ns: implement buffer accessibility element
Implement EmacsAccessibilityBuffer, a virtual NSAccessibility text element (AXTextArea role) that exposes buffer contents to VoiceOver. * src/nsterm.m (ns_ax_free_runs_indirect): New unwind helper. (ns_ax_buffer_text): New static function; builds visible text and run array for accessibility clients. (ns_ax_frame_for_range): New static function; maps char ranges to screen rects. (ns_ax_post_notification_with_info): New static inline; async AX notification posting. (EmacsAccessibilityBuffer): Full NSAccessibility text protocol implementation including insertion point, selection, cursor position, styled ranges, and frame-for-range.
This commit is contained in:
1290
src/nsterm.m
1290
src/nsterm.m
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user