Hello, Lists,
       When creating my document-based application, there is a default menu
item, Format->Font->Baseline. select text on the text view, then click the
Raise or Lower menu, I find something that I can not understand.
        Click Raise menu first, the space between the lines increase.
        But if click Lower menu first, the space between the lines still
increase. why?

        Another:
        First, click the Raise, the space between the lines increase. then
click lower, the space decrease. but if still click Lower, the increase will
increase, (not decrease anymore).

        I think that, if the baseline offset can not be changed, it should
do nothing, not go into a wrong direction.
Take the TextEdit application as a reference. select a piece of texts in the
view, and click the menu Format->Font->Baseline->Raise/Lower. You can get
the same issue. Can anyone told me the work principle of these actions.
raiseBaseline and lowerBaseline of NSTextView.

Thanks.
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to