aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-01-10 10:08:01 +1100
committernyamatongwe <devnull@localhost>2013-01-10 10:08:01 +1100
commit03d7d31dea6b054b7e8d2fcb370249a7c3c8dbcd (patch)
treec6603d7ad41f2a5243d70c03e4df08d71e8baa42 /cocoa/ScintillaView.h
parent0739dda5f3a425c51d5fded60a0b3a047868c420 (diff)
downloadscintilla-mirror-03d7d31dea6b054b7e8d2fcb370249a7c3c8dbcd.tar.gz
Add a replace method and a parameter for backwards search.
From Mike Lischke.
Diffstat (limited to 'cocoa/ScintillaView.h')
-rw-r--r--cocoa/ScintillaView.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h
index d5f500df3..29bf5591d 100644
--- a/cocoa/ScintillaView.h
+++ b/cocoa/ScintillaView.h
@@ -144,10 +144,23 @@ extern NSString *SCIUpdateUINotification;
- (void) setInfoBar: (NSView <InfoBarCommunicator>*) aView top: (BOOL) top;
- (void) setStatusText: (NSString*) text;
-- (void) findAndHighlightText: (NSString*) searchText
+- (BOOL) findAndHighlightText: (NSString*) searchText
matchCase: (BOOL) matchCase
wholeWord: (BOOL) wholeWord
scrollTo: (BOOL) scrollTo
wrap: (BOOL) wrap;
+- (BOOL) findAndHighlightText: (NSString*) searchText
+ matchCase: (BOOL) matchCase
+ wholeWord: (BOOL) wholeWord
+ scrollTo: (BOOL) scrollTo
+ wrap: (BOOL) wrap
+ backwards: (BOOL) backwards;
+
+- (int) findAndReplaceText: (NSString*) searchText
+ byText: (NSString*) newText
+ matchCase: (BOOL) matchCase
+ wholeWord: (BOOL) wholeWord
+ doAll: (BOOL) doAll;
+
@end