From d52cf2f0a2c2d2521c1a5f1fb50eea32b5f156d6 Mon Sep 17 00:00:00 2001 From: Adrian Kosmaczewski Date: Wed, 28 Jul 2010 17:04:02 +0200 Subject: [PATCH] Changed the default font of the text view --- GUI/MyDocument.m | 4 ++++ GUI/nib2objc-Info.plist | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/GUI/MyDocument.m b/GUI/MyDocument.m index f765f62..b2f1af1 100644 --- a/GUI/MyDocument.m +++ b/GUI/MyDocument.m @@ -67,6 +67,10 @@ - (void)windowControllerDidLoadNib:(NSWindowController *) aController [self.fragariaEditor setObject:@"Objective-C" forKey:MGSFOSyntaxDefinitionName]; [self.fragariaEditor embedInView:self.editorView]; [self.fragariaEditor setString:self.nibCode]; + + NSTextView *textView = [self.fragariaEditor objectForKey:ro_MGSFOTextView]; + [textView setEditable:NO]; + [textView setFont:[NSFont fontWithName:@"Monaco" size:14.0]]; } - (BOOL)prepareSavePanel:(NSSavePanel *)savePanel diff --git a/GUI/nib2objc-Info.plist b/GUI/nib2objc-Info.plist index a441cc2..e481530 100644 --- a/GUI/nib2objc-Info.plist +++ b/GUI/nib2objc-Info.plist @@ -40,7 +40,7 @@ CFBundleSignature ???? CFBundleVersion - 1.2 + 1.2.1 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSMainNibFile