On Thu, Feb 24, 2022 at 12:22 PM tbp1...@gmail.com <tbp100...@gmail.com>
wrote:

> I'd like to know what people think about the question of whether to turn
this app into a plugin.

The choice is yours. @button scripts, especially those that apply to a
single outline need not ever become plugins.

If, later, you see some reason to share the code, you can still put your
@button script in your myLeoSettings.leo file. Any @button node that is a
child of the @buttons node will be available to all open outlines.  Same
for @command nodes that are children of the @commands node.

Otoh, the advantages of plugins:

- They can be enabled/disabled on a per-outline basis.
- They can respond to specific events
<http://leoeditor.com/writingPlugins.html#handling-events>.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3QHeGr-e__v43-EzkFPXMztSpQWVrSuLydd-zWVc5%2BoQ%40mail.gmail.com.

Reply via email to