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/PlatCocoa.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/PlatCocoa.h')
-rw-r--r-- | cocoa/PlatCocoa.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index a650c653e..250d94ad6 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -24,6 +24,15 @@ NSRect PRectangleToNSRect(Scintilla::PRectangle& rc); Scintilla::PRectangle NSRectToPRectangle(NSRect& rc); +@interface ScintillaContextMenu : NSMenu +{ + Scintilla::ScintillaCocoa* owner; +} +- (void) handleCommand: (NSMenuItem*) sender; +- (void) setOwner: (Scintilla::ScintillaCocoa*) newOwner; + +@end + namespace Scintilla { // A class to do the actual text rendering for us using Quartz 2D. |