From 78eb7127127c9cf1b72aa4dfe0dfa48166c59963 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 7 Feb 2011 13:54:07 +1100 Subject: Merged in current scintilla-cocoa from bzr. --- cocoa/ScintillaTest/AppController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/ScintillaTest/AppController.mm') diff --git a/cocoa/ScintillaTest/AppController.mm b/cocoa/ScintillaTest/AppController.mm index 9bce5fd11..4c8801a33 100644 --- a/cocoa/ScintillaTest/AppController.mm +++ b/cocoa/ScintillaTest/AppController.mm @@ -100,7 +100,7 @@ const char user_keywords[] = // Definition of own keywords, not used by MySQL. // alternatively: [mEditor setEditorProperty: SCI_SETLEXERLANGUAGE parameter: nil value: (sptr_t) "mysql"]; // Number of styles we use with this lexer. - [mEditor setGeneralProperty: SCI_SETSTYLEBITS parameter: 5 value: 0]; + [mEditor setGeneralProperty: SCI_SETSTYLEBITS value: [mEditor getGeneralProperty: SCI_GETSTYLEBITSNEEDED]]; // Keywords to highlight. Indices are: // 0 - Major keywords (reserved keywords) -- cgit v1.2.3