Skip to content

Commit

Permalink
visibleTextRange made public
Browse files Browse the repository at this point in the history
  • Loading branch information
kaunteya committed Aug 30, 2023
1 parent f725c6d commit 1fd163f
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 1fd163f

Please sign in to comment.