Randall,
snip
How can I tell NSTextView to use a front or middle ellipses for
viewing
purposes?
You'll have to set a (mutable) paragraph style, and specify
NSLineBreakByTruncatingHead or NSLineBreakByTruncatingMiddle for the
NSLineBreakMode using -setLineBreakMode:.
Thanks a bunch! The
I have a simple text view that will display its text information with an
ellipses on the right (end) if the string is too long for the view. Nice,
but...
How can I tell NSTextView to use a front or middle ellipses for viewing
purposes?
-h
___
On Jan 22, 2009, at 11:03 AM, Harry Plate wrote:
I have a simple text view that will display its text information
with an
ellipses on the right (end) if the string is too long for the view.
Nice,
but...
How can I tell NSTextView to use a front or middle ellipses for
viewing
purposes?