Updating Align Left/Center/etc. for NSTextView
David Dunham
dunham at mac.com
Sat Aug 4 21:53:21 PDT 2007
On 3 Aug 2007, at 23:17, David Dunham wrote:
> The menu part is easy (I think)
Hmm, harder than I was hoping. I not only have to determine if I
should use typingAttributes, but most of the time the selection's
paragraph is of NSNaturalTextAlignment. So how do I determine the
"default alignment for script?"
I see this question was asked in 2004, with no answer. Yet somehow an
NSTextView's ruler manages to show it correctly.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
"People seem to misinterpret complexity as sophistication" -- Niklaus
Wirth
More information about the MacOSX-dev
mailing list