summary: fix bugs related to latest macOS/SwiftUI. greatly improve motions on texts that have the tab character and funky newlines. new work regarding the sentence motions coming in next release.
fix
- fix a potential crash on (ironically) apps that were built with the latest version of SwiftUI (macOS 26 and latest minor versions of Sonoma and Sequoia) due to a SwiftUI/macOS Accessibility bug where the visible character range returned is impossible. reported to Apple as FB21737006. thoughts and prayers. this doesn't affect AppKit apps. for those newest SwiftUI apps all the motions related to the visible character range will not work, i.e.
H,L,M, and all thezmoves. sorry - fix wrong behavior when kV would enter Normal Mode at the end of a text if this text ends with a line with only one single character on apps that were built with the latest version of SwiftUI (same blah blah as above). this is due to Apple fixing a bug reported in 2021 (FB9114768) but not informing developers, so the workarounds were now failing lol. things working again now for those apps. AppKit apps were not affected
improve
- massive update to all internal engines so that apps that continue to refuse using the macOS newline \n but rather use the Windows newline \r\n can now get some kV love! (we know who you are)
- improve the detection of the tab character in all motions
- code cleaning. beautiful stuff. it's like prose. i'm the Baudelaire of coding