From cb46ba11e5eb15ff7c67cd5876120bb7af1c2c62 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Wed, 12 Sep 2012 15:58:50 +0200 Subject: [PATCH] =?UTF-8?q?Change=20set-only=20property=20=E2=86=92=20meth?= =?UTF-8?q?od?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/OakTextView/src/OakTextView.h | 3 ++- Frameworks/OakTextView/src/OakTextView.mm | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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;