RE: Bolding a range in a mutable string
RE: Bolding a range in a mutable string
- Subject: RE: Bolding a range in a mutable string
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Tue, 23 Jul 2002 19:04:43 -0400
>
I am the newbie trying to write a terminal application. I have an
>
NSMutableString containing the text. What I want to do is to, and
>
this seems
>
like it should be simple, change the font, underline, bolding, color of
>
individual characters (ranges) in that string.
>
Read up on NSMutableAttributedString (in Foundation) and NSTextStorage (in
AppKit).
>
I may have to be working with attributed strings for this. However, my
>
system is heavily dependent on the ability to append to the string (when I
>
get a new line or new form command) and mutable attributed strings do not
>
support appending.
Check again. There's appendAttributedString:
Jonathan
_______________________________________________
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.