diff options
author | nyamatongwe <unknown> | 2010-04-22 09:28:18 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-04-22 09:28:18 +0000 |
commit | 5075f7e200be157a77e4fd446ae47badd24bb6e2 (patch) | |
tree | a780e2c7bffab445e8a885561ec7d91dc1b6915b /cocoa/ScintillaCocoa.h | |
parent | 552cb2390c71235d92862897f593130211db0c6a (diff) | |
download | scintilla-mirror-5075f7e200be157a77e4fd446ae47badd24bb6e2.tar.gz |
Updated to launchpad scintilla-cocoa revision 33.
Context menu implemented.
Many warnings avoided.
Make files added.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r-- | cocoa/ScintillaCocoa.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 6f563431b..3f4d20093 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -78,7 +78,7 @@ namespace Scintilla { * 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. - * Messgae format is: + * Message format is: * <br> * WM_COMMAND: HIWORD (wParam) = notification code, LOWORD (wParam) = 0 (no control ID), lParam = ScintillaCocoa* * <br> @@ -196,8 +196,9 @@ public: virtual void Undo(); virtual void Redo(); - // virtual OSStatus ContextualMenuClick( HIPoint& location ); -// + virtual NSMenu* CreateContextMenu(NSEvent* event); + void HandleCommand(NSInteger command); + // virtual OSStatus ActiveStateChanged(); // // virtual void CallTipClick(); |