aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaTest/AppController.mm
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-06-26 06:22:21 +0000
committernyamatongwe <devnull@localhost>2009-06-26 06:22:21 +0000
commit20bf88ac8226b48883f744cc702926454f142d64 (patch)
treee8a7eb028667153470731d0e51c03e6e5f6e7c1f /cocoa/ScintillaTest/AppController.mm
parent2f3029c7c2344fa0d950be945dd686b7cfc617c9 (diff)
downloadscintilla-mirror-20bf88ac8226b48883f744cc702926454f142d64.tar.gz
Updated cocoa to current version from bzr.
Diffstat (limited to 'cocoa/ScintillaTest/AppController.mm')
-rw-r--r--cocoa/ScintillaTest/AppController.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/cocoa/ScintillaTest/AppController.mm b/cocoa/ScintillaTest/AppController.mm
index 37fe8c8e1..d660e0f75 100644
--- a/cocoa/ScintillaTest/AppController.mm
+++ b/cocoa/ScintillaTest/AppController.mm
@@ -8,11 +8,6 @@
*/
#import "AppController.h"
-#import "ScintillaView.h"
-
-#include "Scintilla.h"
-
-using namespace Scintilla;
const char major_keywords[] =
"accessible add all alter analyze and as asc asensitive "
@@ -207,6 +202,11 @@ const char user_keywords[] = // Definition of own keywords, not used by MySQL.
// Uncomment if you wanna see auto wrapping in action.
//[mEditor setGeneralProperty: SCI_SETWRAPMODE parameter: SC_WRAP_WORD value: 0];
+
+ InfoBar* infoBar = [[[InfoBar alloc] initWithFrame: NSMakeRect(0, 0, 400, 0)] autorelease];
+ [infoBar setDisplay: IBShowAll];
+ [mEditor setInfoBar: infoBar top: NO];
+ [mEditor setStatusText: @"Operation complete"];
}
@end