aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaTest/AppController.mm
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-07-24 11:31:15 +1000
committernyamatongwe <devnull@localhost>2010-07-24 11:31:15 +1000
commitd5a558ca1a52e77dd4fe6e45c9e5ad9026870d86 (patch)
tree003bb8205fabf9d96d2088d8820d0f9b1ca5cd48 /cocoa/ScintillaTest/AppController.mm
parent983c16a1e5e5941359a4d9e7a0c0ae1f8073383a (diff)
downloadscintilla-mirror-d5a558ca1a52e77dd4fe6e45c9e5ad9026870d86.tar.gz
Updates from Scintilla-Cocoa project.
Updated case mapping, modifier key for zoom, redo, mouse wheel, search and highlight.
Diffstat (limited to 'cocoa/ScintillaTest/AppController.mm')
-rw-r--r--cocoa/ScintillaTest/AppController.mm12
1 files changed, 12 insertions, 0 deletions
diff --git a/cocoa/ScintillaTest/AppController.mm b/cocoa/ScintillaTest/AppController.mm
index d660e0f75..9bce5fd11 100644
--- a/cocoa/ScintillaTest/AppController.mm
+++ b/cocoa/ScintillaTest/AppController.mm
@@ -209,6 +209,18 @@ const char user_keywords[] = // Definition of own keywords, not used by MySQL.
[mEditor setStatusText: @"Operation complete"];
}
+//--------------------------------------------------------------------------------------------------
+
+- (IBAction) searchText: (id) sender
+{
+ NSSearchField* searchField = (NSSearchField*) sender;
+ [mEditor findAndHighlightText: [searchField stringValue]
+ matchCase: NO
+ wholeWord: NO
+ scrollTo: YES
+ wrap: YES];
+}
+
@end
//--------------------------------------------------------------------------------------------------