Skip to content

Commit 137abc8

Browse files
Make TextView Public (#264)
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.
1 parent 7d08e74 commit 137abc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CodeEditSourceEditor/Controller/TextViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class TextViewController: NSViewController {
2121
public static let cursorPositionUpdatedNotification: Notification.Name = .init("TextViewController.cursorPositionNotification")
2222

2323
var scrollView: NSScrollView!
24-
var textView: TextView!
24+
private(set) public var textView: TextView!
2525
var gutterView: GutterView!
2626
internal var _undoManager: CEUndoManager?
2727
/// Internal reference to any injected layers in the text view.

0 commit comments

Comments
 (0)