-
Notifications
You must be signed in to change notification settings - Fork 23
Implement Missing Accessibility APIs #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Missing Accessibility APIs #116
Conversation
f576370
into
CodeEditApp:main
godbout
commented
Aug 15, 2025
@thecoolwinter curious about when do changes made on the CodeEditTextView get merged and released in the CodeEdit app themselves. do you guys have some sort of fixed schedule, or do you do it more by feel?
thecoolwinter
commented
Aug 15, 2025
We release whatever the latest version of CESE and CETV are with a CodeEdit release. We don't have a specific release schedule, but I think it will be soon considering some recent changes.
godbout
commented
Aug 16, 2025
nice. thanks!
thecoolwinter
commented
Aug 26, 2025
@godbout It's been released! https://github.com/CodeEditApp/CodeEdit/releases/tag/v0.3.6 let me know if it works with kindaVim or if it's still got some bugs.
godbout
commented
Aug 27, 2025
@thecoolwinter thank you! will do very soon and will update you.
godbout
commented
Aug 28, 2025
@thecoolwinter kV still can't make use of CodeEdit's TextView/TextArea. will review and let you know if there's anything that can be done. thanks!
@thecoolwinter ok, interesting. so all the AX data needed is there. thanks for that! but somehow the CodeEditTextView doesn't refresh/update when AX data is pushed to it. i push the caret location and the selected length (through the kAXSelectedTextRangeAttribute attribute), but in the CETV the caret is just gone lol. see below:
- here i enter kV Normal Mode with the caret location being after the second
eon line 25. what's supposed to happen is the secondegets selected (so it looks like a block cursor one). then i pressciwwhich selectsLeftRightSearch, deletes it, and makes kV go back to Insert Mode, which means we're not back into normal macOS. at that timeLeftRightSearchis supposedly removed, and the blinking typing caret should be located afterpublic struct. so it DOES NOT LOOK LIKE IT but behind the scene everything is happening normally lol, it's just not SHOWN in CETV. the proof is that i typethisall i've described above, and everything appears where it should appear. caret at the right position, right selection was deleted, etc. it just didn't SHOW in CETV. after that i undo by going back to kV Normal Mode and pressinguto undo. we can see the changes getting undone.
Screen.Recording.2025年08月28日.at.18.41.04.mov
- here i use kV Visual Mode to select a few lines. you'll see the line numbers getting highlighted, but again CETV doesn't reflect the selection. then i delete with
d. in that case the CETV changes get reflected. i do a bit of undo, delete again, and then useccto delete thepublic enumline and switch to Insert Mode (normal macOS). then i can start typing. as with the first video, it does work. everything is at the proper place, BUT the CETV somehow doesn't refresh the changes.
Screen.Recording.2025年08月28日.at.18.41.57.mov
hope this makes sense! please lemme know if there's anything i can add to help. (if you wanna have a look at this, that is.)
Description
Fills out the last few missing accessibility methods for the text view.
Adds unit tests for all implemented accessibility methods.
Related Issues
kAXLineForIndexParameterizedAttributenot obtainable through the AX APIs #115Visible Character Rangedata missing #114Checklist
Screenshots
N/A