Fix accessibilityRange to detect trailing newlines via NSString instead of textContentManager
Previously, the logic to include a trailing newline character relied on manually navigating the textContentManager. This change simplifies the logic by checking for a newline character at the end of the computed range using NSString. This improves correctness and performance.
M
Marcin Krzyzanowski committed
22d9c3fed213955158482ed2d6f2c524aacfc439
Parent: e619303