I need to render some view at cursor position, how can I get the current coordinate of cursor?
var location = NSRange(location: textView.selectedRange().location, length: 0)
// the following is not available
textLayoutManager.boundingRect(forGlyphRange: location, in: textContainer)
can we use Textkit2 in production? I think there are lots of methods missing in NSTextLayoutManager while available in NSLayoutManager.