• 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: URLs in TextView: woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URLs in TextView: woes


  • Subject: Re: URLs in TextView: woes
  • From: Arno Gourdol <email@hidden>
  • Date: Wed, 9 May 2001 16:55:57 -0700

Upon further investigation:

- The problem doesn't seem to occur as much if the NSTextView is directly inside the root view of the window instead of inside a subview

- Regardless of its position in the view hierarchy, if I send two setAttributedString: message to the text storage of the text view, when the second message is received the text is visually appended to the text view, as if the layout had not been properly invalidated. Sending the processEditing message manually results in a infinite loop.

Could someone at Apple have a look at this? I'm going nuts over this thing.

Arno.


On Wednesday, May 9, 2001, at 01:59 PM, Arno Gourdol wrote:

I am overcome with joy! I finally got the URLs links in a NSTextView to work.

All right, well that didn't last too long...

After playing with it a bit more, I've found that the vertical origin of the text is apparently random, and frequently outside of the view bounds: sometimes the text is displayed entirely below the bottom of the view, sometimes it is displayed partially above the view. Very rarely, it is displayed somewhat inside the bounds of the view. Argh. Is this a known problem? Is there a workaround? Is this something I'm doing?

Arno.


References: 
 >Re: URLs in TextView: woes (From: Arno Gourdol <email@hidden>)

  • Prev by Date: Re: Newbie Question: NSTabView and NSTabViewItem THANKS!!!!!!!
  • Next by Date: Re: how to manipulate icons in the dock ??????
  • Previous by thread: Re: URLs in TextView: woes
  • Next by thread: Opening help in Help Viewer
  • Index(es):
    • Date
    • Thread