aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-04-22 09:28:18 +0000
committernyamatongwe <devnull@localhost>2010-04-22 09:28:18 +0000
commitdfc27758ce34c3bfe0c420d36cb80e4e07f883b3 (patch)
treea780e2c7bffab445e8a885561ec7d91dc1b6915b /cocoa/ScintillaCocoa.h
parentc06f40d97ccdf72bafa44a1767aaf8beeddc2ef7 (diff)
downloadscintilla-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.h7
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();