Skip navigation.
 
mlRight way to build style sheets?
FROM : Steve Mykytyn
DATE : Wed Nov 13 20:54:05 2002

I need to keep a list of styles for text: font, size, style, color, etc.

for the user interface, i'd like to have the user simply change any/all
of those for a fixed string of text, like "Sample", or perhaps have the
text change in response to the chosen attributes, e.g. "Helvetica 24
bold".

Is it possible to have an NSTextView where users can edit attributes
but not text?  I'm guessing not...

So i suppose the next best thing would be to make a subclass of NSView
that responded to the various text attribute selectors...
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlRight way to build style sheets? Steve Mykytyn Nov 13, 20:54
mlRe: Right way to build style sheets? Max Seelemann Nov 13, 21:04
mlRe: Right way to build style sheets? Douglas Davidson Nov 13, 21:16
mlRe: Right way to build style sheets? Jonathan Chaffer Nov 13, 21:20