* NSTextView.m commented out references to defaultTypingAttributes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2937 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Felipe A. Rodriguez 1998-08-20 10:43:36 +00:00
parent 2b9b066fcc
commit 03a5e921d4
2 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,8 @@
<<<<<<< ChangeLog
Thurs Aug 20 1998 Felipe A. Rodriguez <far@ix.netcom.com>
* NSTextView.m commented out references to defaultTypingAttributes
Thurs Aug 20 1998 Felipe A. Rodriguez <far@ix.netcom.com>
* NSSplitView.m in drawRect moved NSRectFill() to backend

View file

@ -99,9 +99,9 @@ NSMutableArray *ret = [NSMutableArray arrayWithObjects:NSStringPboardType,
// atIndex:range.location longestEffectiveRange:NULL
// inRange:range]
}
else
currentFont = [[self defaultTypingAttributes]
objectForKey:NSFontAttributeName];
// else
// currentFont = [[self defaultTypingAttributes]
// objectForKey:NSFontAttributeName];
[[NSFontPanel sharedFontPanel] setPanelFont:currentFont
isMultiple:isMultiple];
}
@ -128,7 +128,8 @@ NSMutableArray *ret = [NSMutableArray arrayWithObjects:NSStringPboardType,
if(typingAttributes)
return typingAttributes;
else
return [self defaultTypingAttributes];
// return [self defaultTypingAttributes];
return nil;
}
- (int) spellCheckerDocumentTag