• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Questions on using a NSTextView as a source viewer.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions on using a NSTextView as a source viewer.


  • Subject: Re: Questions on using a NSTextView as a source viewer.
  • From: Keary Suska <email@hidden>
  • Date: Sat, 11 Oct 2014 15:22:57 -0600

On Oct 11, 2014, at 1:31 PM, Daryle Walker <email@hidden> wrote:

> There was a minor detour where I just had “textContainer.containerSize” set. You need BOTH “containerSize” and “widthTracksTextView” set (to {10M, 10M} and NO, respectively). Both of these can be set in the user-defined run-time attributes section of IB. I heard about this a few months ago as a power-user hint. I first tried it to set the text-view’s font to the system fixed-width font, but I couldn’t do it. NSFont is not a type supported by the runtime attribute section, but NSSize and BOOL are.

I stand corrected. I think this was new as of Xcode 5, since I haven't used that feature since Xcode 4, but I am glad the added it.

> Oh, I want read-only actions supported. Those don’t break the illusion that the source-view and browser windows are connected.

Sorry, I misunderstood. I thought you didn't want those either.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >Questions on using a NSTextView as a source viewer. (From: Daryle Walker <email@hidden>)
 >Re: Questions on using a NSTextView as a source viewer. (From: Ken Thomases <email@hidden>)
 >Re: Questions on using a NSTextView as a source viewer. (From: Daryle Walker <email@hidden>)
 >Re: Questions on using a NSTextView as a source viewer. (From: Ken Thomases <email@hidden>)
 >Re: Questions on using a NSTextView as a source viewer. (From: Daryle Walker <email@hidden>)
 >Re: Questions on using a NSTextView as a source viewer. (From: Keary Suska <email@hidden>)
 >Re: Questions on using a NSTextView as a source viewer. (From: Daryle Walker <email@hidden>)

  • Prev by Date: Re: Questions on using a NSTextView as a source viewer.
  • Next by Date: Re: Questions on using a NSTextView as a source viewer.
  • Previous by thread: Re: Questions on using a NSTextView as a source viewer.
  • Next by thread: Re: Questions on using a NSTextView as a source viewer.
  • Index(es):
    • Date
    • Thread