diff options
| author | nyamatongwe <devnull@localhost> | 2010-04-22 09:28:18 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-04-22 09:28:18 +0000 |
| commit | dfc27758ce34c3bfe0c420d36cb80e4e07f883b3 (patch) | |
| tree | a780e2c7bffab445e8a885561ec7d91dc1b6915b /cocoa/ScintillaCocoa.h | |
| parent | c06f40d97ccdf72bafa44a1767aaf8beeddc2ef7 (diff) | |
| download | scintilla-mirror-dfc27758ce34c3bfe0c420d36cb80e4e07f883b3.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(); |
