Re: Simple font question
Re: Simple font question
- Subject: Re: Simple font question
- From: Isaac Sherman <email@hidden>
- Date: Fri, 31 May 2002 12:03:21 -0400
on 5/31/02 11:43 AM, the method -(id)email@hidden:(id)
sender:@"Peter Schols"; returned:
>
Hi,
>
>
What is the easiest way to make selected text in an NSTextView bold (or
>
italic)?
>
Select italic or Bold from the menu?
Seriously, though, look at NSFontManager. TextEdit uses NSFontManager's
addFontTrait for bold and italic, so that would probably be the way to go.
HTH,
--
Isaac Sherman
MotaSoft Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.