Hi, I am trying to override the setting of text size in my text storage 
subclass. I have overridden the setAttributes:range: method, and told the text 
to use a standard font size (keeping the other font attributes), but when I am 
editing, and use the font panel to set the font, although the correct font size 
is used, the text is moved up or down depending on the size of the font 
selected.

This seems to suggest that the font selection is doing something at the text 
view end independent of what is set in the text storage.

Can someone enlighten me as to what else I need to do to avoid this undesired 
effect? Do I need to override something in the NSTextView before it gets to the 
text storage?


Thanks

Gideon







_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to