aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.h
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2014-06-07 10:04:22 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2014-06-07 10:04:22 +1000
commit33444b1983e9c1fb2eb153f8c80cd56d496bf439 (patch)
treee226341de5487912b4172d62d6305d2fd2b7fd5e /cocoa/ScintillaView.h
parent56e712f0111274124baae2e79f9bc41769c016b2 (diff)
downloadscintilla-mirror-33444b1983e9c1fb2eb153f8c80cd56d496bf439.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.
Diffstat (limited to 'cocoa/ScintillaView.h')
-rw-r--r--cocoa/ScintillaView.h4
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;