From 600f0700bb8cf9229ba3ff032fa271c216ffb0a8 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sat, 7 Jun 2014 10:04:22 +1000 Subject: registerNotifyCallback is now marked as deprecated and will be removed in a future release. Client code should use the delegate or subclassing instead. --- cocoa/ScintillaView.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cocoa') diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h index b9b36201f..24d6dc59a 100644 --- a/cocoa/ScintillaView.h +++ b/cocoa/ScintillaView.h @@ -178,8 +178,8 @@ extern NSString *const SCIUpdateUINotification; - (void) setLexerProperty: (NSString*) name value: (NSString*) value; - (NSString*) getLexerProperty: (NSString*) name; -// The delegate property should be used instead of registerNotifyCallback which will be deprecated. -- (void) registerNotifyCallback: (intptr_t) windowid value: (Scintilla::SciNotifyFunc) callback; +// The delegate property should be used instead of registerNotifyCallback which is deprecated. +- (void) registerNotifyCallback: (intptr_t) windowid value: (SciNotifyFunc) callback __attribute__((deprecated)); - (void) setInfoBar: (NSView *) aView top: (BOOL) top; - (void) setStatusText: (NSString*) text; -- cgit v1.2.3