Follow-up Comment #4, bug #23954 (project gnustep): Sorry, my fault. I change a sentence I wrote around, but didn't adjust the words. What I wanted to say was, NSTextView (and the abstract class NSText) both support setFont: in GNustep. For the class NSTextStorage this method is only provided as a scripting extension and currently GNUstep doesn't provide most of these extensions.
There wont be a problem to include this method if you really need it an provide an implementation. OK, this is really easy, here is one (code stolen from NSTextView), but why would we want it? - (void) setFont: (NSFont *)font { if (!font) return; [self addAttribute: NSFontAttributeName value: font range: NSMakeRange(0, [self length])]; } As soon as you provide a good reason for it, I will add this method to a scripting category on NSTextStorage. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?23954> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep