diff --git a/Frameworks/OakTextView/src/OakTextView.h b/Frameworks/OakTextView/src/OakTextView.h index 4b22d980..b03a641f 100644 --- a/Frameworks/OakTextView/src/OakTextView.h +++ b/Frameworks/OakTextView/src/OakTextView.h @@ -89,7 +89,8 @@ PUBLIC @interface OakTextView : OakView OakChoiceMenu* choiceMenu; std::vector choiceVector; } -@property (nonatomic, assign) document::document_ptr const& document; +- (void)setDocument:(document::document_ptr const&)aDocument; + @property (nonatomic, assign) theme_ptr const& theme; @property (nonatomic, retain) NSCursor* ibeamCursor; @property (nonatomic, retain) NSFont* font; diff --git a/Frameworks/OakTextView/src/OakTextView.mm b/Frameworks/OakTextView/src/OakTextView.mm index 82039e34..cacd9915 100644 --- a/Frameworks/OakTextView/src/OakTextView.mm +++ b/Frameworks/OakTextView/src/OakTextView.mm @@ -296,7 +296,6 @@ static std::string shell_quote (std::vector paths) @synthesize antiAlias; @synthesize initiateDragTimer, dragScrollTimer, optionDownDate, showColumnSelectionCursor, showDragCursor, choiceMenu; @synthesize markedRanges; -@synthesize document; @synthesize refreshNestCount; @synthesize liveSearchViewController, liveSearchString, liveSearchRanges;