• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
action for raise and lower baseline of textview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: NSNull vs nil in NSManagedObject setValue: v forKey: k
  • Next by Date: Re: Carbon is C++?
  • Previous by thread: re: Core Data 10.5 Mapping error 134140. Troubleshooting, "Value Expressions"?
  • Index(es):
    • Date
    • Thread