diff options
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(); |