Re: URLs in TextView: woes
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.