From 2e2b91144dcf8d766a367518ff11436fcd2f3f7a Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Wed, 12 Sep 2012 15:59:32 +0200 Subject: [PATCH] Change property to read-only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since it uses a const reference we can’t synthesize a setter for this. --- Frameworks/OakTextView/src/OakTextView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/OakTextView/src/OakTextView.mm b/Frameworks/OakTextView/src/OakTextView.mm index cacd9915..7f965f42 100644 --- a/Frameworks/OakTextView/src/OakTextView.mm +++ b/Frameworks/OakTextView/src/OakTextView.mm @@ -58,7 +58,7 @@ NSString* const kUserDefaultsDisableAntiAliasKey = @"disableAntiAlias"; - (void)recordSelector:(SEL)aSelector withArgument:(id)anArgument; - (NSImage*)imageForRanges:(ng::ranges_t const&)ranges imageRect:(NSRect*)outRect; - (void)highlightRanges:(ng::ranges_t const&)ranges; -@property (nonatomic, assign) ng::ranges_t const& markedRanges; +@property (nonatomic, readonly) ng::ranges_t const& markedRanges; @property (nonatomic, retain) NSDate* optionDownDate; @property (nonatomic, retain) OakTimer* initiateDragTimer; @property (nonatomic, retain) OakTimer* dragScrollTimer;