Commit daeed694 by Daniel Dahan

editor: updated accessor types for Editor

parent 7c4aa92f
...@@ -153,16 +153,16 @@ public protocol EditorDelegate { ...@@ -153,16 +153,16 @@ public protocol EditorDelegate {
open class Editor: View { open class Editor: View {
/// A reference to the Text. /// A reference to the Text.
open internal(set) var text: Text! open fileprivate(set) var text: Text!
/// A reference to the NSTextContainer. /// A reference to the NSTextContainer.
open internal(set) var textContainer: NSTextContainer! open fileprivate(set) var textContainer: NSTextContainer!
/// A reference to the NSLayoutManager. /// A reference to the NSLayoutManager.
open internal(set) var layoutManager: NSLayoutManager! open fileprivate(set) var layoutManager: NSLayoutManager!
/// Reference to the TextView. /// Reference to the TextView.
open internal(set) var textView: TextView! open fileprivate(set) var textView: TextView!
/// A reference to an EditorDelegate. /// A reference to an EditorDelegate.
open weak var delegate: EditorDelegate? open weak var delegate: EditorDelegate?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment