31ad0383607c32498ab97fac7127f9e2674c810a
postAccessibilityNotificationsForFrame: was calling NSString lineRangeForRange: to detect line-crossing cursor moves. That method scans from the start of the string, making it O(cursor_offset). In large buffers with the cursor near the end, this executes on every redisplay cycle — causing progressive slowdown proportional to cursor position. patch 0002 already builds lineStartOffsets in ensureTextCache (O(N) once per text change) and exposes lineForAXIndex: (O(log L) binary search). Use it instead. Also remove the now-redundant tlen clamping that existed solely to prevent lineRangeForRange: from receiving an out-of-range index. lineForAXIndex: handles out-of-range inputs safely.
…
…
# instalace mailu: brew install mu isync msmtp pak mbsync personal (musi existovat .mbsyncrc) pak mu init --maildir=~/.mail --my-address=martin@sukany.cz mu index
Description
Languages
Emacs Lisp
97.5%
Shell
2.5%