[Geany-devel] Blanklines addons plugin

Eugene Arshinov earshinov at xxxxx
Thu Sep 3 07:36:19 UTC 2009


Hi Enrico. Here are some comments about turning sciwrappers into macros.

Enrico Tro"ger wrote:
> On Wed, 02 Sep 2009 20:11:21 +0400, Eugene wrote:
>
>   
> <...>
>> maybe it worths converting one-line wrappers into macros, so that we
>> won't need to export them.
>>     
>
> But then we end up in some wrappers realised as macros, others as
> functions (those which have a little logic in it).
>   

Yes, but is it a problem?

> You can also easily use Scintilla messages directly in your plugin code
> using the scintilla_send_message() function.
>   

Yes, but if those macros were defined in geany, no plugin writers would 
need to write their own or using scintilla_send_message calls (which are 
little longer).

Anyway, using macros instead of functions is an insignificant 
suggestion, you can ignore that.

Best regards,
Eugene.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20090903/b27e4b59/attachment.html>


More information about the Devel mailing list