FROM : Daniel Zitter
DATE : Fri Nov 22 20:34:39 2002
With expectations set by the documentation, I assumed that calling
pasteFont: on a plain-text NSTextView would have set the font for the
entire text to the font on the font pasteboard. This does not work for
me. (Try this yourself in TextEdit. It doesn't work there either.)
In the case of a rich-text text view, as expected, pasteFont: does the
thing with the stuff, and if I write my own implementation of
pasteFont: in a subclass of NSTextView, that works.
Am I missing something?
TIA,
Dan
_______________________________________________
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.
DATE : Fri Nov 22 20:34:39 2002
With expectations set by the documentation, I assumed that calling
pasteFont: on a plain-text NSTextView would have set the font for the
entire text to the font on the font pasteboard. This does not work for
me. (Try this yourself in TextEdit. It doesn't work there either.)
In the case of a rich-text text view, as expected, pasteFont: does the
thing with the stuff, and if I write my own implementation of
pasteFont: in a subclass of NSTextView, that works.
Am I missing something?
TIA,
Dan
_______________________________________________
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 mails | Author | Date |
|---|---|---|
| Daniel Zitter | Nov 22, 20:34 | |
| Douglas Davidson | Nov 22, 21:01 |






Cocoa mail archive

