Skip navigation.
 
mlNSFontManager's orderFrontFontPanel: changes text view's font
FROM : Daniel Zitter
DATE : Sat Nov 23 02:40:36 2002

While running my application, I noticed that after bringing the font
panel forward (cmd-t), the plain-text text view's delegate was getting
called (textView:shouldChangeTextInRange:replacementString:) indicating
that a font change had taken place. This led to the observation that
NSFontManager's orderFrontFontPanel: sets the text's font, though often
it is difficult to notice this because it is generally the same font.

To reproduce this:
  - Launch TextEdit
  - Open a plain-text document.
  - Open the font panel.
  - Now the plain-text document has been edited.

Does anyone know how to fix this?

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 mailsAuthorDate
No related mails found.