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/PlatCocoa.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/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. |