Works as advertised. Many thanks.
/Mikael
On Oct 16, 2013, at 7:55 AM, Jens Alfke j...@mooseyard.com wrote:
On Oct 12, 2013, at 2:42 PM, Mikael Hakman mhak...@dkab.net wrote:
How can I make NSTextView not to do word wrap? Thanks.
Basically you have to make the view’s text container
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:42
On Oct 16, 2013, at 5:33 AM, Mark Wright blue.bucon...@virgin.net 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
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
On Oct 12, 2013, at 2:42 PM, Mikael Hakman mhak...@dkab.net 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
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 BiScrollAspect.m file
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 searching I
settled
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 in that you
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?
Douglas Davidson
(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
without word
10 matches
Mail list logo