Re: Set font on NSTextView that uses bindings?

2016-05-19 Thread Rick Mann
Thanks. Yeah, I think I did suggest 1, once upon a time. Ugh. Guess it'll have to do. I kludged it by making my bound property an NSAttributedString and I set the font on that when setting the value. Really gross, but got me past this hurdle. > On May 19, 2016, at 07:00 , Andy Lee

Re: Set font on NSTextView that uses bindings?

2016-05-19 Thread Andy Lee
Suggestion 1: A few weeks ago I ran into the same problem. I stumbled onto a kludge that seems to work, which was to put some text into the text view in IB. It can be spaces, it can be anything, as long as it's non-empty and it uses the desired font. It seems that the bindings mechanism is

Re: Set font on NSTextView that uses bindings?

2016-05-19 Thread Jonathan Mitchell
> On 19 May 2016, at 04:47, Rick Mann wrote: > > I seem to be unable to set the font used in an NSTextView that uses bindings > to set the text content. The property it's bound to creates a plain NSString > (no attributes). > > I've tried setting the font, setting the

Set font on NSTextView that uses bindings?

2016-05-18 Thread Rick Mann
I seem to be unable to set the font used in an NSTextView that uses bindings to set the text content. The property it's bound to creates a plain NSString (no attributes). I've tried setting the font, setting the typing attributes, setting the font on textStorage, all to no avail. Any ideas?