aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaTest/AppController.mm
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-02-07 13:54:07 +1100
committernyamatongwe <unknown>2011-02-07 13:54:07 +1100
commit5350f8da7e73f683380fec5db5d6ebacf6b95511 (patch)
tree73e459dd94e115cd0ab514a6735c4330d4f565f9 /cocoa/ScintillaTest/AppController.mm
parent4d6720ee3d75e3e8ab186d610b879018a3a6114c (diff)
downloadscintilla-mirror-5350f8da7e73f683380fec5db5d6ebacf6b95511.tar.gz
Merged in current scintilla-cocoa from bzr.
Diffstat (limited to 'cocoa/ScintillaTest/AppController.mm')
-rw-r--r--cocoa/ScintillaTest/AppController.mm2
1 files changed, 1 insertions, 1 deletions
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)