aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-07-24 11:31:15 +1000
committernyamatongwe <unknown>2010-07-24 11:31:15 +1000
commita8ec0328ac3fa1fa3f1326c7e47a2d8ec1c3033f (patch)
treed41c6fb220c97f5ff0b719137d928e4dd9282f7a /cocoa/ScintillaView.h
parent0d936f6a50f8ca9d7115d7194dda3217e054dc1a (diff)
downloadscintilla-mirror-a8ec0328ac3fa1fa3f1326c7e47a2d8ec1c3033f.tar.gz
Updates from Scintilla-Cocoa project.
Updated case mapping, modifier key for zoom, redo, mouse wheel, search and highlight.
Diffstat (limited to 'cocoa/ScintillaView.h')
-rw-r--r--cocoa/ScintillaView.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h
index 73903c369..0d66d36a4 100644
--- a/cocoa/ScintillaView.h
+++ b/cocoa/ScintillaView.h
@@ -53,6 +53,9 @@ extern NSString *SCIUpdateUINotification;
// It uses the content view for display.
Scintilla::ScintillaCocoa* mBackend;
+ // The object (eg NSDocument) that controls the ScintillaView.
+ NSObject* mOwner;
+
// This is the actual content to which the backend renders itself.
InnerView* mContent;
@@ -92,6 +95,11 @@ extern NSString *SCIUpdateUINotification;
- (NSString*) selectedString;
+- (void)setFontName: (NSString*) font
+ size: (int) size
+ bold: (BOOL) bold
+ italic: (BOOL) italic;
+
// Native call through to the backend.
+ (sptr_t) directCall: (ScintillaView*) sender message: (unsigned int) message wParam: (uptr_t) wParam
lParam: (sptr_t) lParam;
@@ -115,6 +123,12 @@ extern NSString *SCIUpdateUINotification;
- (void) setInfoBar: (NSView <InfoBarCommunicator>*) aView top: (BOOL) top;
- (void) setStatusText: (NSString*) text;
-@property Scintilla::ScintillaCocoa* backend;
+- (void) findAndHighlightText: (NSString*) searchText
+ matchCase: (BOOL) matchCase
+ wholeWord: (BOOL) wholeWord
+ scrollTo: (BOOL) scrollTo
+ wrap: (BOOL) wrap;
+@property Scintilla::ScintillaCocoa* backend;
+@property (retain) NSObject* owner;
@end