Skip to content

Commit

Permalink
visibleTextRange made public (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaunteya authored Aug 30, 2023
1 parent f725c6d commit f1dbf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Neon/NSTextView+VisibleRange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extension NSTextView {
return layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
}

var visibleTextRange: NSRange {
public var visibleTextRange: NSRange {
return textRange(for: visibleRect)
}
}
Expand Down

0 comments on commit f1dbf41

Please sign in to comment.