Improve accessibility line range calculation and add support for setting insertion line
Refactors accessibilityRange(forLine:) to use visual layout fragments rather than semantic text elements, providing a more accurate mapping between visual line numbers and text ranges. Also adds an implementation for setAccessibilityInsertionPointLineNumber to allow screen readers or accessibility clients to move the cursor to a specified line number. Trailing newlines are now included in line ranges when appropriate.
M
Marcin Krzyzanowski committed
e619303ee44fd7f1bf9ce2d7bec6be8a5a814c9e
Parent: 318b394