I want to change the color of ALL the text in a NSTextView. Currently, I have code doing this:
NSMutableDictionary* fontAttributes = [[NSMutableDictionary alloc] init];
[fontAttributes setObject: newColour forKey:NSForegroundColorAttributeName];
[self setTypingAttributes:fontAttributes];
... but that only changes the color of text typed after the attributes are set.
Is there an easy way to change the color of all text in the view, not just what is entered at the insertionPoint ?