On Sun, 14 Jan 2018 13:49:54 -0800
T C <
tsc....@gmail.com> wrote:
> Thank-you Sir,
>
> My skeleton plugin now loads without errors. However, looking over the
> plugin writing page I started
> to wonder how I would make this work in an event-driven context. My
> script only has one entry point.
> In the beginning information is gathered and any unnecessary dialogs
> are skipped - I thought this
> would be efficient.
>
> But now there are no separate commands. So, should I pack everything
> into the plugin and create only
> one hook? I'd be willing to separate the commands if I (*or you*)
> could see a good reason for it.
I'd try it with just one command starting leo4sqlite as it works
currently - if there's a need for another command that short-cuts to
read/write a table or something that can always be added later.
Cheers -Terry
> Thanks,
>
> tscv11
>
> On Sun, Jan 14, 2018 at 3:05 AM, Edward K. Ream <
edre...@gmail.com>
> wrote:
>
> >
> >
> > On Sun, Jan 14, 2018 at 4:55 AM, Edward K. Ream
> > <
edre...@gmail.com> wrote:
> >
> >
> >> The per-commander-plugin;; abbreviation will guide you the
> >> process of creating an @file tree for the new plugin.
> >>
> >
> > I should have been a bit more explicit about how to do this:
> >
> > 1. Create a new node in leoPlugins.leo, your local copy of
> > LeoPluginsRef.leo.
> >
> > 2. In the body text of that node, type (or paste)
> > per-commander-plugin; (one trailing semicolon).
> >
> > 3. The abbreviation will become active when you type the second
> > semicolon. The abbreviation creates a tree of nodes and will
> > prompt you to fill in a serious of values by highlighting the
> > fields.
> >
> > Now here's the wonky part. End the field with ,, (two commas) and
> > you will be taken to the next field to fill in. You are done
> > when ,, does nothing more. See this page
> > <
http://leoeditor.com/tutorial-pim.html#using-abbreviations-and-templates>
> > for the docs for abbreviations.
> >
> > The result of the abbreviation is an @@file node, for safety.
> > Change this to @file when ready.
> >
> > Edward
> >
> > --
> > You received this message because you are subscribed to a topic in
> > the Google Groups "leo-editor" group.
> > To unsubscribe from this topic, visit
https://groups.google.com/d/
> > topic/leo-editor/l6S99-fUUac/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> >
leo-editor+...@googlegroups.com.
> > To post to this group, send email to
leo-e...@googlegroups.com.
> > Visit this group at
https://groups.google.com/group/leo-editor.
> > For more options, visit
https://groups.google.com/d/optout.
> >
>