• 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
Re: Tab spacing in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab spacing in NSTextView


  • Subject: Re: Tab spacing in NSTextView
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 28 Apr 2011 09:52:26 -0700

2011/4/28 Дмитрий Николаев <email@hidden>:
> Hello!
>
> I'm trying override - boundingBoxForControlGlyphAtIndex for NSTypesetter, but logs shows that this method never called.
>
> If this is most appropriate place to override position of the tab ?

No. It will be *far* easier to use -[NSParagraphStyle tabStops] or
-[NSParagraphStyle defaultTabInterval] with tab characters, rather
than control glyphs and a custom typesetter.

--Kyle Sluder
_______________________________________________

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

References: 
 >Tab spacing in NSTextView (From: Дмитрий Николаев <email@hidden>)

  • Prev by Date: Re: Binding a to-many relationship into a table subview of NSCollectionItemView
  • Next by Date: Re: How to store main window frame to user defaults?
  • Previous by thread: Tab spacing in NSTextView
  • Next by thread: onSocketDidDisconnect in CocoaAsyncSocket
  • Index(es):
    • Date
    • Thread