ChimeHQ / Neon

A Swift library for efficient, flexible content-based text styling
BSD 3-Clause "New" or "Revised" License
325 stars 18 forks source link

Prevent conversion of TextKit2 NSTextViews to TextKit1 #14

Closed danielpunkass closed 2 years ago

danielpunkass commented 2 years ago

Prevent conversion of TextKit2 NSTextViews to TextKit1 when requesting the visibleTextRange. For now if TextKit2 is detected on a text view, just return the whole range.

mattmassicotte commented 2 years ago

I really love that you found this issue, and that you added a test.