Re: NSTextView and front/middle/back ellipses

2009-01-23 Thread Harry Plate
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

NSTextView and front/middle/back ellipses

2009-01-22 Thread Harry Plate
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 ___

Re: NSTextView and front/middle/back ellipses

2009-01-22 Thread Randall Meadows
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?