diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2014-06-07 10:04:22 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2014-06-07 10:04:22 +1000 |
commit | 600f0700bb8cf9229ba3ff032fa271c216ffb0a8 (patch) | |
tree | 4250b3d359813355e0308f37b9d3448674fda54b | |
parent | 8c4b3adbc625039386b6705328e2225d4151a978 (diff) | |
download | scintilla-mirror-600f0700bb8cf9229ba3ff032fa271c216ffb0a8.tar.gz |
registerNotifyCallback is now marked as deprecated and will be removed in a future
release. Client code should use the delegate or subclassing instead.
-rw-r--r-- | cocoa/ScintillaView.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <InfoBarCommunicator>*) aView top: (BOOL) top; - (void) setStatusText: (NSString*) text; |