From cb3f168082f921bdfd65eecec7d21eaf4e8bd79e Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 17 Aug 2010 19:39:14 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Editor=20color=20setting=20in=20Pref=20pane?= =?UTF-8?q?=20displays=20the=20color=20names=20using=20the=20Editor's=20fo?= =?UTF-8?q?nt=20-=20added=20some=20logic=20for=20closing=20the=20NSColorPa?= =?UTF-8?q?nel=20-=20some=20GUI=20tweaks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTextView.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/SPTextView.m') diff --git a/Source/SPTextView.m b/Source/SPTextView.m index a4ed1adc..a045a4ad 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -3317,6 +3317,12 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) NSLog(@"%@ ‘%@’.", NSLocalizedString(@"Couldn't read the file content of", @"Couldn't read the file content of"), aPath); } +// Do nothing if NSColorPanel was opened from the NSTextView +- (void)changeColor:(id)sender +{ + return; +} + - (void)changeFont:(id)sender { if (prefs && [self font] != nil) { -- cgit v1.2.3