• 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
nstextview and inspector bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nstextview and inspector bar


  • Subject: nstextview and inspector bar
  • From: Martin Hewitson <email@hidden>
  • Date: Sun, 13 Nov 2011 09:02:35 +0100

Dear list,

I've been exploring the use of the new inspector bar that you can enable on NSTextView with setUsesInspectorBar:.  I've discovered two strange behaviours:

1) I tried using this on a text view which appears in a sheet. The bar appears at the top of the sheet, but if the sheet is resized, then the bar goes blank and is not redrawn.

2) I tried using this on a text view which appears in a popup. Here the bar (partially) appears floating above the popup with a transparent background.

My question is, are these expected behaviours, or bugs?

As a related question, I've tried rolling my own inspector bar because I want something more compact that I can keep at the top of the text view, rather than at the top of the window. That all seems feasible, but I'm struggling implementing the list control. Does anyone know if there are any utility methods to handle making lists in an text view, or do I have to add the NSTextList stuff myself and insert tabs and list characters by hand?

Best wishes,

Martin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

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

  • Prev by Date: Re: About iVars declaration and property
  • Next by Date: NSArray, NSDictionary property attribute issue, retain or copy?
  • Previous by thread: Re: About iVars declaration and property
  • Next by thread: NSArray, NSDictionary property attribute issue, retain or copy?
  • Index(es):
    • Date
    • Thread