On Oct 16, 2013, at 5:33 AM, Mark Wright wrote:
> Shouldn't that be:
>
> - (BOOL) wrapsLines {
> return ![self isHorizontallyResizable];
> }
You’re right — I think I never noticed this bug because I never called the
getter; I only added it so the compiler would let me declare wrapsLines as
Shouldn't that be:
- (BOOL) wrapsLines {
return ![self isHorizontallyResizable];
}
Otherwise if you set it to YES the getter will return NO because of the [self
setHorizontallyResizable: !wraps] line in the setter?
On 16 Oct 2013, at 06:55, Jens Alfke wrote:
>
> On Oct 12, 2013, at 2:4
Works as advertised. Many thanks.
/Mikael
On Oct 16, 2013, at 7:55 AM, Jens Alfke wrote:
>
> On Oct 12, 2013, at 2:42 PM, Mikael Hakman wrote:
>
>> How can I make NSTextView not to do word wrap? Thanks.
>
> Basically you have to make the view’s text container infinitely wide. Here’s
> an i
On Oct 12, 2013, at 2:42 PM, Mikael Hakman wrote:
> How can I make NSTextView not to do word wrap? Thanks.
Basically you have to make the view’s text container infinitely wide. Here’s an
implementation of a .wrapsLines property that I used in a subclass of
NSTextView a few years ago.
- (BOOL
How can I make NSTextView not to do word wrap? Thanks.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubs
orText)];
[textView setHorizontallyResizable:YES];
[textView setVerticallyResizable:YES];
}
On May 23, 2008, at 12:03 PM, Douglas Davidson wrote:
On May 23, 2008, at 10:33 AM, David Carlisle wrote:
I've spent the last few hours trying to create an NSTextView
without word wrap. The BiS
NSMakeSize(LargeNumberForText,
LargeNumberForText)];
[textView setHorizontallyResizable:YES];
[textView setVerticallyResizable:YES];
}
On May 23, 2008, at 12:03 PM, Douglas Davidson wrote:
On May 23, 2008, at 10:33 AM, David Carlisle wrote:
I've spent the last few hours trying to create an NSTextView
, 2008, at 10:33 AM, David Carlisle wrote:
I've spent the last few hours trying to create an NSTextView
without word wrap. The BiScrollAspect.m file in the
textSizingExample project file is no help at all.
No help in that it doesn't do what you want, or no help in that
you can'
On May 23, 2008, at 1:55 PM, David Carlisle wrote:
I made some guesses at which statements to copy from
BiScrollAspect.m and came up with the following awakeFromNib. I'm
not sure which statements are the most relevant, and why, but it
seems to do what I need.
- (void) awakeFromNib {
create an NSTextView
without word wrap. The BiScrollAspect.m file in the
textSizingExample project file is no help at all.
No help in that it doesn't do what you want, or no help in that you
can't get it working in your app, or no help in some other way
n May 23, 2008, at 10:33 AM, David Carlisle wrote:
I've spent the last few hours trying to create an NSTextView
without word wrap. The BiScrollAspect.m file in the
textSizingExample project file is no help at all.
No help in that it doesn't do what you want, or no help in that you
On May 23, 2008, at 10:33 AM, David Carlisle wrote:
I've spent the last few hours trying to create an NSTextView without
word wrap. The BiScrollAspect.m file in the textSizingExample
project file is no help at all.
No help in that it doesn't do what you want, or no help i
I've spent the last few hours trying to create an NSTextView without
word wrap. The BiScrollAspect.m file in the textSizingExample project
file is no help at all. Searching on "wrap" is no help either. I've
checked and unchecked various settings in IB. After much sear
13 matches
Mail list logo