Attributed strings in NSTableViews
Attributed strings in NSTableViews
- Subject: Attributed strings in NSTableViews
- From: Peter Hudson <email@hidden>
- Date: Sun, 30 Jun 2013 14:04:41 +0100
Hi All
I create an attributed string - setting the background color, font colour and a paragraph style to range left.
When this cell is displayed in an NSTable view it works exactly as I would hope.
Also, when the row is selected the system reverses out the foreground font color as usual.
I then append a second attributed string to the first - with very similar attributes as the first.
After this, when the row is selected, the system no longer reverses out the text color as it did previously.
I have tried putting beginEdit and endEdit arond the code appending the second string to the first.
Baffling.
Peter
_______________________________________________
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