From 37eef706c5221e89c409f2126fdece7ac330434f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 4 Jan 2013 19:45:45 +1100 Subject: When setting a font name, set first 128 styles insted of 32 as will work for more lexers. From Mike Lischke at Oracle. --- cocoa/ScintillaView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3