<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 21 Aug 2016, at 21:42, Jacob Carlborg wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">Is it possible to show an NSPopover using a custom nib and the dialog command? Or does the NSPopover require some code to show it?
</div></blockquote></div>
<div style="white-space:normal">

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">- (void)showRelativeToRect:(NSRect)positioningRect
                    ofView:(NSView *)positioningView
             preferredEdge:(NSRectEdge)preferredEdge
</code></pre>

<p dir="auto">Don’t think you can work that into a nib file.</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">My use case is a command I’m working on for displaying generated documentation, i.e. JavaDoc, for a given symbol.  So far I’ve been using a tooltip, It’s working fine but the problem with the tooltip is that it doesn’t support scrolling, when the content gets too long. Ideally I would like something that also is interactable, like clicking on links. I would like to avoid the HTML window/view because I think it’s bit too heavy.
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">Scrollable interactive content, presumably with styles? Sounds to me like the HTML view is the proper outlet.</p>

<p dir="auto">Too heavy I assume is the status bar? Could maybe look into making it possible to hide it from the exposed JavaScript object, or maybe it should be a property of the bundle item (so it doesn’t “flash”).</p>
</div>
</div>
</body>
</html>