aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaTest/AppController.mm
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/ScintillaTest/AppController.mm
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/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
//--------------------------------------------------------------------------------------------------