aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-05-27 08:18:41 +1000
committernyamatongwe <unknown>2011-05-27 08:18:41 +1000
commit97298b076704c5272477308e652107d2422c002a (patch)
tree3e72f911f84b11d652d2881de4d03fa824d7225a /cocoa/ScintillaView.mm
parent4f7e5eb22c5d4d514e8c8d6d2d94cb79e0c6306b (diff)
downloadscintilla-mirror-97298b076704c5272477308e652107d2422c002a.tar.gz
Expose registerNotifyCallback on ScintillaView class.
From Elizabeth Irizarry of Adobe.
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm11
1 files changed, 11 insertions, 0 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index d451c374f..09f290b1e 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -1366,6 +1366,17 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa
//--------------------------------------------------------------------------------------------------
/**
+ * Sets the notification callback
+ */
+- (void) registerNotifyCallback: (intptr_t) windowid value: (Scintilla::SciNotifyFunc) callback
+{
+ mBackend->RegisterNotifyCallback(windowid, callback);
+}
+
+
+//--------------------------------------------------------------------------------------------------
+
+/**
* Sets the new control which is displayed as info bar at the top or bottom of the editor.
* Set newBar to nil if you want to hide the bar again.
* When aligned to bottom position then the info bar and the horizontal scroller share the available