Plugin help. Fixes #999 #1364
Plugin help. Fixes #999 #1364
Conversation
This comment has been minimized.
This comment has been minimized.
|
Here's an alternate proposal @pjrobertson. It has your first commit, but the second is different. It turns out there was already a help button defined in I've set it to be visible only for plug-in prefs (not "main") and to be enabled only for plug-ins that provide extended description. But that last bit is unreliable, and we won't be able to make the button actually do anything for the same reason. It seems there's no real relationship between a plug-in and it's prefs. That is, Possible solutions:
And honestly, I'm not sure how we will get the button to work. What's |
This comment has been minimized.
This comment has been minimized.
|
Just FYI:
Yep, it refers to whatever sent the action. Typically its not used, that's why in a lot of (the QS) code you'll see IBAction methods that just send |
…in help Instead of using resource:file.css (scheme:file syntax) just use sensible base URLs then make all other files load from this relative.
|
Clicking the '?' works as expected. One thing: hitting ⌘⇧⌥? in Preferences>Preferences brings up the plugin documentation for the one selected in Preferences>Plugins instead. |
Here she is in all her glory
If there's anything wrong - sorry, you're gonna have to fix this yourself.
I'm fed up with how stupidly HTML views were set up for plugins help:
why user a resource:file format instead of just SETTING A BASE URL for the HTML view which is what it's there for.
I refuse to have to set a resource loading delegate for the web and write about 10 lines of code just to load a .css file >:(
OK, rant over :)