Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

✨ macOS Accessibility Visible Character Range data missing #114

Closed
Labels
enhancementNew feature or request
@godbout

Description

Description

the Visible Character Range data is not provided by CodeEdit. the data is usually present in native apps. without the data it's hard to navigate through the TextArea with the AX Framework, for example in order to add Vim motions to CodeEdit through the AX APIs.

Alternatives Considered

one alternative of course is to ignore the fact that CodeEdit doesn't provide the Visible Character Range, but that would prevent third party apps to act properly on CodeEdit's TextArea.

Additional Context

calling AXUIElementCopyAttributeValue(axFocusedElement, kAXVisibleCharacterRangeAttribute as CFString, &axVisibleCharacterRange) on the CodeEdit textarea returns attributeUnsupported. if the kAXVisibleCharacterRangeAttribute Attribute is properly provided, a call to the AX API will fill axVisibleCharacterRange with a CFRange containing the location of the first visible character (line), and the length until the last visible character (line).

Screenshots

we can see that the data is also not provided through the Accessibility Inspector:

Screen.Recording.2025年07月13日.at.21.52.06.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    🏁 Complete

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /