diff options
author | nyamatongwe <devnull@localhost> | 2013-01-04 19:45:45 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-01-04 19:45:45 +1100 |
commit | d97e934cb17e28ca15dd2352570a1c86db72ee0a (patch) | |
tree | bcaf81d9fb5c3eaa521d06be1c4312168c1eae85 | |
parent | be25bdf8fc94b62915cab45694af7661041ca88c (diff) | |
download | scintilla-mirror-d97e934cb17e28ca15dd2352570a1c86db72ee0a.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 |