<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><p>4. The symbols tab on the side panel shows an overview of functions.  You can change the tags to be listed in order of occurance instead of alphabetical in a config file.<br>
5.  I am guessing geany-plugins welcomes more plugins, so long as the dev agrees to maintain their plugin.</p>
<p>Thanks,</p>
<p>Steve</p>
</td></tr></table>            <div id="_origMsg_">
                <div>
                    <br />
                    <div>
                        <div style="font-size:0.9em">
                            <hr size="1">
                            <b>
                                <span style="font-weight:bold">From:</span>
                            </b>
                            Peter O'Malley <ooomalley@gmail.com>;                            <br>
                            <b>
                                <span style="font-weight:bold">To:</span>
                            </b>
                             <devel@lists.geany.org>;                                                                                                     <br>
                            <b>
                                <span style="font-weight:bold">Subject:</span>
                            </b>
                            [Geany-Devel] Plugin Advice                            <br>
                            <b>
                                <span style="font-weight:bold">Sent:</span>
                            </b>
                            Thu, Jan 16, 2014 3:02:15 AM                            <br>
                        </div>
                            <br>
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tbody>
                                    <tr>
                                        <td valign="top">I am new to Geany plugins and GTK development in general, and I'd like<BR>to know some best practices (and how-to's) for a plugin I'm working<BR>on. It does code folding, by level--that is, rather than folding all<BR>of the code at once, just the top-level or second-level (or<BR>third-level...). (This is very useful to me, as I can open a file and<BR>get all the functions at a glance, or e.g. for a python class look at<BR>all the function defs by folding the second level, and so on.) I did<BR>so by essentially copying the folding code in Geany's fold_all<BR>function, and then adding a submenu and keybindings to call the<BR>function.<BR><BR>I think this may be useful to others and I'd like to submit it to<BR>geany-plugins, but I have a couple questions first:<BR><BR>1) The submenu is in the tools menu, but I feel it would be better in<BR>the Document menu underneath the existing folding functions.
 Is this a<BR>good idea, and if so, how to I get at the document menu (since I can't<BR>say geany->main_widgets->tools_menu)?<BR><BR>2) I didn't set the keybindings since it's not recommended as it may<BR>interfere with existing ones. Is there a way to set them if the given<BR>key is not in use, or is that a bad idea?<BR><BR>3) In the actual folding code I used sci_get_fold_level (and a couple<BR>other scintilla wrappers) which aren't in the plugin API so I gather<BR>my plugin may break at some point. There doesn't seem to be a way<BR>around this for what I want to do. Is this ok?<BR><BR>4) Is there another plugin out there that does this? I couldn't find one.<BR><BR>5) Would geany-plugins accept another plugin?<BR><BR>Thanks,<BR>Peter O'Malley<BR>_______________________________________________<BR>Devel mailing list<BR><a ymailto="mailto:Devel@lists.geany.org" href="javascript:return">Devel@lists.geany.org</a><BR><a
 href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target=_blank >https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><BR></td>
                                    </tr>
                                </tbody>
                            </table>
                    </div>
                </div>
            </div>