NSMutableAttributedString binding
NSMutableAttributedString binding
- Subject: NSMutableAttributedString binding
- From: Ivan C Myrvold <email@hidden>
- Date: Thu, 10 Jan 2008 18:11:46 +0100
I have binded the a NSTextView to an NSAttributedString. This works
fine when I set the binded variable, the NSTextView is showing the
text fine.
But if I make a change in the variable, this is not reflected in the
NSTextView.
I am doing this:
[[self attributedText] replaceCharactersInRange:elementRange
withString:[te c]];
and the NSTextView which is binded to attributedText does never show
the change.
If I do an NSLog of this variable immediately following the above
line, I can see the change.
What should I do to get the NSTextView to show the change?
Ivan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden