aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-09-08 12:57:45 +1000
committernyamatongwe <nyamatongwe@gmail.com>2013-09-08 12:57:45 +1000
commiteb62b8e93491d96e7e8e99e6f6860d1f6441cdd9 (patch)
treebd0816183b84c618a92dfb75d3ef0805fde8cfb8 /cocoa/ScintillaCocoa.h
parent8d67948c8a547be2e60d14856dfb96dfc543cfb2 (diff)
downloadscintilla-mirror-eb62b8e93491d96e7e8e99e6f6860d1f6441cdd9.tar.gz
Stop exposing Scintilla implementation to clients from ScintillaView header.
Platform.h and ScintillaCocoa.h are no longer imported in ScintillaView.h
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r--cocoa/ScintillaCocoa.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h
index b7290506b..4842e2098 100644
--- a/cocoa/ScintillaCocoa.h
+++ b/cocoa/ScintillaCocoa.h
@@ -78,26 +78,6 @@ extern "C" NSString* ScintillaRecPboardType;
namespace Scintilla {
/**
- * On the Mac, there is no WM_COMMAND or WM_NOTIFY message that can be sent
- * back to the parent. Therefore, there must be a callback handler that acts
- * like a Windows WndProc, where Scintilla can send notifications to. Use
- * ScintillaCocoa::RegisterNotifyHandler() to register such a handler.
- * Message format is:
- * <br>
- * WM_COMMAND: HIWORD (wParam) = notification code, LOWORD (wParam) = 0 (no control ID), lParam = ScintillaCocoa*
- * <br>
- * WM_NOTIFY: wParam = 0 (no control ID), lParam = ptr to SCNotification structure, with hwndFrom set to ScintillaCocoa*
- */
-typedef void(*SciNotifyFunc) (intptr_t windowid, unsigned int iMessage, uintptr_t wParam, uintptr_t lParam);
-
-/**
- * Scintilla sends these two messages to the notify handler. Please refer
- * to the Windows API doc for details about the message format.
- */
-#define WM_COMMAND 1001
-#define WM_NOTIFY 1002
-
-/**
* Main scintilla class, implemented for OS X (Cocoa).
*/
class ScintillaCocoa : public ScintillaBase