Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text wrap in NSTextView-> how to get wrapped NSString



Hello,
I would to simulate wrapped nstextview. I found I can resize used text
area and set my preferred wrapstyle but when I get out the relative
NSString it still remain unwrapped (correct it's right). Now I would
to get, for each line in NSTextView what character is the last of the
line, this screenshot should be clear
<http://img526.imageshack.us/img526/440/wrappingrq2.png>
so I'll add and \n to effective have the wrapped nsstring.
Anyone can help me?
Thanks a lot
mlc
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.