• 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: NSTextTable/NSDrawer bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextTable/NSDrawer bug?


  • Subject: Re: NSTextTable/NSDrawer bug?
  • From: Jeremy Dronfield <email@hidden>
  • Date: Sat, 18 Jun 2005 11:01:41 +0100

Thanks, Douglas. That's a workable stopgap. Since you say it's fixed internally, hopefully we can expect the fix to come through in 10.4.2...

Regards,

-Jeremy

==============================================
SkoobySoft, home of viJournal and Skooby Renamer
email: email@hidden or visit:
<http://freespace.virgin.net/jeremy.dronfield/skoobysoft/ skoobysoft.html>
==============================================


On 17 Jun 2005, at 11:00 pm, Douglas Davidson wrote:


On Jun 10, 2005, at 1:27 PM, Jeremy Dronfield wrote:

I've found that it's impossible to insert a text table into an NSTextView using -[NSTextView orderFrontTablePanel:] if the text view is in a drawer. The table panel opens, but its controls are disabled and no table is inserted. This definitely isn't a bug in my code - I've reproduced it with a test app. Is this a known AppKit bug, and if so, does anyone have a workaround?


This is an AppKit bug. It is fixed internally. Here is something you could try: use an NSTextView subclass, and override the - updateRuler, -updateFontPanel, and -window methods. Set a flag on entry to -updateRuler or -updateFontPanel, call the super method, then reset the flag on exit. While the flag is set, have the - window method return the drawer's parent window; otherwise have it return [super window].


Douglas Davidson


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSTextTable/NSDrawer bug?
      • From: Douglas Davidson <email@hidden>
References: 
 >NSTextTable/NSDrawer bug? (From: Jeremy Dronfield <email@hidden>)
 >Re: NSTextTable/NSDrawer bug? (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Highly Newbie Question
  • Next by Date: Re: Using DO to talk to a process running as root
  • Previous by thread: Re: NSTextTable/NSDrawer bug?
  • Next by thread: Re: NSTextTable/NSDrawer bug?
  • Index(es):
    • Date
    • Thread