SketchyVim
SketchyVim copied to clipboard
Notes app reformats whole document
Going into Normal mode and deleting a character in the body turns the whole Note into Title, i.e boldface and bigger font.

Deleted a character in the highlighted line
I have the same problem.
This might be connected to #15 and could probably be solved by replacing the current text replacement approach (which replaces the entire text of a field on a change): https://github.com/FelixKratz/SketchyVim/blob/010426a7b924a280257080e70afe6a6855037c20/src/ax.c#L77-L91 with an atomic approach, only replacing lines that have changed. As I already stated in #15 I would accept pull requests regarding this, since it is not something that I encounter in my personal workflow but could be changed fairly easily.
I've been trying to use SketchyVim with Xcode to replace the subpar Vim Xcode implementation (no dot command...) and faced a similar issue. When doing any change, the top of the editor is shifting to the line that was modified, as shown in this screencast. My C is really rusty, but maybe I could contribute this fix with some guidance. kAXValueAttribute changes the whole content of the element, did you have an API in mind to perform atomic changes?
https://user-images.githubusercontent.com/58686775/210365027-6757669e-3e60-4fb2-91ce-9db9fd32883a.mov
I'd be potentially interested in fixing this but don't know much about the system APIs. @FelixKratz, how would you recommend going about it?
Major annoyance when using it. Find every other or so text field unexpectedly is deleted when using the tool.