On Oct 7, 2014, at 5:29 PM, Daryle Walker <[email protected]> wrote:
> 1. Although the text in the window expands vertically as needed, it never
> does horizontally. Wrapping always happens when lines are too long, but it
> adjusts as the width of the window is changed. How do I get “infinite” space
> horizontally? I tried various tweaks in Interface Builder and looked at
> various Apple guides, but I can’t turn off the horizontal wrapping.
On the Size inspector of IB, enable Resizable Horizontally. Then, in code, do
this (assuming self.textView is the outlet property):
self.textView.textContainer.widthTracksTextView = NO;
I couldn't find anyplace in IB that exposes the text container attributes.
On Oct 7, 2014, at 5:33 PM, Daryle Walker <[email protected]> wrote:
> 3. The text in the view-source window is editable, although I turned that
> off. (It’s still selectable.) I can cut/copy/paste. Isn’t turning off editing
> supposed to stop this?
Are you using bindings? Do any of them have Conditionally Sets Editable
enabled in the binding options?
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]