Skip to content

Commit

Permalink
Make TextView Public (#264)
Browse files Browse the repository at this point in the history
Makes the textview property public. There's an existing workaround for
this by grabbing the controller's views and drilling down to the text
view, but this should be publicly accessible.
  • Loading branch information
thecoolwinter authored Sep 13, 2024
1 parent 7d08e74 commit 137abc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class TextViewController: NSViewController {
public static let cursorPositionUpdatedNotification: Notification.Name = .init("TextViewController.cursorPositionNotification")

var scrollView: NSScrollView!
var textView: TextView!
private(set) public var textView: TextView!
var gutterView: GutterView!
internal var _undoManager: CEUndoManager?
/// Internal reference to any injected layers in the text view.
Expand Down

0 comments on commit 137abc8

Please sign in to comment.