NSFontManager's orderFrontFontPanel: changes text view's font
NSFontManager's orderFrontFontPanel: changes text view's font
- Subject: NSFontManager's orderFrontFontPanel: changes text view's font
- From: Daniel Zitter <email@hidden>
- Date: Fri, 22 Nov 2002 17:40:36 -0800
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@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.