<br><br><div><span class="gmail_quote">2006/7/20, Kurt Maier <<a href="mailto:karmaflux@gmail.com">karmaflux@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 7/20/06, Alexandre Moreira <<a href="mailto:alexandream@gmail.com">alexandream@gmail.com</a>> wrote:<br>> We would only have to create a system where a plugin could navigate through<br>> all folding markers at the current file, and then a user script/plugin could
<br>> do the feature. That way the GUI for that wouldn't really be a Geany core<br>> problem, and plugins could configure their own gui the way they wanted, be<br>> it a weird button on the toolbar or a keybinding for the user.
<br><br>...as the guy who opened the can of extensibility worms, I feel like I<br>should pipe up here.  Please note that this branch of the discussion<br>is hypothetical and contingent upon the idea that geany will one day
<br>have scripting hooks or the like.<br><br>Leaving the interface design decisions to the plugin/script writers is<br>a dangerous idea.  If a system of external hooks is to be implemented<br>-- and I hope it will be -- the smart thing to do would be to
<br>_require_ specific interface schema.  I would suggest requiring _both_<br>a menu entry and a configurable keybinding.  Fooling about with the<br>standard toolbar is a bad idea from a usability standpoint; it would<br>
make more sense to have an optional second toolbar containing the<br>access elements for scripts and plugins.<br><br>I say this because of firefox.  Firefox is basically the "standard"<br>extensible GUI program -- I know it's been done before, but never with
<br>as much success as firefox.  It's led to a nightmare of usability<br>problems.  Some extensions add menu items, some add toolbar icons,<br>some add toolbars, some add icons or text to a status bar -- it's a<br>bit of a chore to track down the interface elements for any given
<br>extension.  As an example, I submit the Download Manager Tweak.  Great<br>extension, but it produces the only sidebar in Firefox without a<br>keybinding to close it.  It forces the user to hit a tiny button<br>somewhere in the left third of the window.
<br><br>Basically, I submit that part of any extensibility framework within<br>geany needs to tightly control who puts what buttons where.  I'm<br>partial to what I said earlier: add menu entries as needed.<br>Extensions with more than one menu entry need to cascade them tro
<br>avoid cluttering the main menu windows.  Each menu entry must have a<br>keybinding -- even if it defaults to nothing, it should let the user<br>change it.  As for toolbar modifications, I think they should be<br>restricted to an "extensions" toolbar; that way installing a
<br>third-party extension or script doesn't disrupt or destroy standard<br>toolbar buttons.<br><br>Geany is a great program.  I'm keenly interested in helping it stay<br>that way.  :)<br><br>Kurt<br>_______________________________________________
<br>Geany mailing list<br><a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br><a href="http://uvena.de/cgi-bin/mailman/listinfo/geany">http://uvena.de/cgi-bin/mailman/listinfo/geany</a><br></blockquote></div>Well, I should probably restrain my "extensibility excitation" too since, as Kurt reminded me, the idea is still hypotethical. It is just that this is, for me, "The Next Best Thing" for Geany to have after the Project Management arrives :)
<br><br>Cheers,<br>Alexandre Moreira.<br>