<div dir="ltr"><div>And why is not such function in the API? It's very used across all the geany code and there's no reason to think a plugin wouldn't ever want to use it.<br><br></div>I want to display the document statistics of the document opened on split window when it gets the focus. ui_set_statusbar() let you display text but doesn't give you access to create_statusbar_statistics() neither to DEFAULT_STATUSBAR_TEMPLATE.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Saludos,</span><i><span style="font-family:arial,helvetica,sans-serif"><br><br>                                                        Abel.</span></i><i><span style="font-family:arial,helvetica,sans-serif"></span></i></div></div></div></div></div>
<br><div class="gmail_quote">On 31 October 2015 at 03:59, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See the big warning message at the start of the plugins doco<br>
<a href="http://www.geany.org/manual/reference/" rel="noreferrer" target="_blank">http://www.geany.org/manual/reference/</a> "Do not use any symbol not in<br>
the documentation".<br>
<br>
On more recent versions of Geany the restriction on use of functions<br>
not in the API is better enforced to reduce the risk of accidental<br>
use.  Functions not in the API never worked on Windows I believe, so a<br>
plugin that used non-API functions was not portable as well as<br>
possibly breaking without warning.<br>
<br>
Can you not use<br>
<a href="http://www.geany.org/manual/reference/ui__utils_8h.html#aa0948006d2f45a2a2a6b7da40169b8ac" rel="noreferrer" target="_blank">http://www.geany.org/manual/reference/ui__utils_8h.html#aa0948006d2f45a2a2a6b7da40169b8ac</a><br>
<br>
Cheers<br>
Lex<br>
<div><div class="h5"><br>
On 31 October 2015 at 12:47, Abel <<a href="mailto:akronix5@gmail.com">akronix5@gmail.com</a>> wrote:<br>
> Hi!<br>
><br>
> I'm hacking split window plugin and I wanted to use the function<br>
> ui_update_statusbar(), located in ui_utils.h<br>
><br>
> When I try to compile I get the following warning:<br>
><br>
> "warning: implicit declaration of function 'ui_update_statusbar'<br>
> [-Wimplicit-function-declaration]"<br>
><br>
> And if I try yo execute the bin generated it doesn't allow you to enable<br>
> that plugin, it is never shown anymore.<br>
><br>
> The plugin includes geanyplugin.h which in turn includes ui_utils.h<br>
><br>
> Some help or hints?<br>
><br>
</div></div>> _______________________________________________<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" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><br>
><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" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><br>
</blockquote></div><br></div>