• 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: NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView


  • Subject: Re: NSTextView
  • From: Mike Ferris <email@hidden>
  • Date: Sun, 12 Jan 2003 09:50:07 -0800

When you load HTML into an attributed string, you lose a lot. Tables, for example, become one huge attachment character. HTML loaded into an NSTextView is not going to be particularly live or particularly high-fidelity.

You should either simplify the HTML fairly drastically, or maybe you should look into the new WebCore framework from Safari...

Mike


Begin forwarded message:

From: Christoph Gerdes <email@hidden>
Date: Sun Jan 12, 2003 6:13:17 AM US/Pacific
To: email@hidden
Subject: NSTextView

Hi,
I have problems with the clickability of links of a html document in a NSTextView.
With this html code:
<html><body>
<table><tr><td><a href="www.test1.com">test link1</a></td></tr></table>
<a href="www.test2.com">test link2</a>
</bod></html>

the delegate's textViewClickedOnLinkAtIndex method will be called only if one clicked on the second link. If clicked on the first link nothing happens. I did not find any clues in the documentation or in the list archives on this problem. Can anyone give me a hint, please.

Tia.
Christoph
--
GPG: 4CD3 152A F59A 2788 3E29 9CC5 7502 DA0B 705B 0564
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSTextView (From: Christoph Gerdes <email@hidden>)

  • Prev by Date: Re: Aqua Human Interface and Safari
  • Next by Date: Re: Aqua Human Interface and Safari
  • Previous by thread: NSTextView
  • Next by thread: count only defined for abstract class
  • Index(es):
    • Date
    • Thread