action for raise and lower baseline of textview
action for raise and lower baseline of textview
- Subject: action for raise and lower baseline of textview
- From: XiaoGang Li <email@hidden>
- Date: Mon, 1 Mar 2010 15:33:54 +0800
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@hidden)
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:
This email sent to email@hidden