diff options
Diffstat (limited to 'cocoa/ScintillaView.h')
| -rw-r--r-- | cocoa/ScintillaView.h | 16 | 
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 | 
