diff options
author | nyamatongwe <unknown> | 2013-01-04 19:45:45 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-01-04 19:45:45 +1100 |
commit | 37eef706c5221e89c409f2126fdece7ac330434f (patch) | |
tree | abf27bf5512f98df59706a429be9b2f9069086c6 | |
parent | b36c94ce6b0001c32601d85eeddf3f0752388520 (diff) | |
download | scintilla-mirror-37eef706c5221e89c409f2126fdece7ac330434f.tar.gz |
When setting a font name, set first 128 styles insted of 32 as will
work for more lexers.
From Mike Lischke at Oracle.
-rw-r--r-- | cocoa/ScintillaView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index a22e07a96..0aa62bb34 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1581,7 +1581,7 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa bold: (BOOL) bold italic: (BOOL) italic { - for (int i = 0; i < 32; i++) + for (int i = 0; i < 128; i++) { [self setGeneralProperty: SCI_STYLESETFONT parameter: i |