diff --git a/Sources/Neon/NSTextView+VisibleRange.swift b/Sources/Neon/NSTextView+VisibleRange.swift index 56b7793..0fe02f1 100644 --- a/Sources/Neon/NSTextView+VisibleRange.swift +++ b/Sources/Neon/NSTextView+VisibleRange.swift @@ -32,7 +32,7 @@ extension NSTextView { return layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil) } - var visibleTextRange: NSRange { + public var visibleTextRange: NSRange { return textRange(for: visibleRect) } }