<div dir="ltr"><br><div class="gmail_extra"><br>[...]<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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></blockquote><div><br></div><div>In general its not a good idea to hide your menu items in existing menus, users don't know where to look.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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></blockquote><div><br></div><div>How do you know that the user hasn't defined this key for the *next* plugin to be loaded after yours, the loading order is not defined?  No, bad idea.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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></blockquote><div><br></div><div>No, as you say the plugin may break in the future and it won't work on windows IIUC.  Ask on the dev ML for what you need in the API, it may be able to be added.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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></blockquote><div><br></div><div>As Steven said, if you commit to maintaining it, most likely.</div><div><br></div><div>Cheers</div><div>Lex</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Thanks,<br>
Peter O'Malley<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org">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>
</blockquote></div><br></div></div>