Do widgets support introspection?

Ali Lloyd ali.lloyd at livecode.com
Wed Jan 10 15:37:47 EST 2018


Brian is correct, this is a temporary use of the lcdoc stuff for script
libraries to contain info that would be contained in its manifest.

Rather than worrying about what information comes from where, it would
probably be best to use the revIDEExtensions function which returns all the
'metadata' associated with extensions (both lcb and lcs). Although
admittedly that doesn't yet contain information about public handlers in
script library extensions.

On Wed, Jan 10, 2018 at 6:18 PM Brian Milby via use-livecode <
use-livecode at lists.runrev.com> wrote:

> My guess is that will be for livecodescript libraries since they do not end
> up with a manifest file.
> On Wed, Jan 10, 2018 at 12:09 PM Mark Wieder via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > On 01/10/2018 09:56 AM, Mark Waddingham via use-livecode wrote:
> >
> > > Are you sure you didn't confuse 'source file' with 'manifest' - its
> > > dealing with no source file in extensions that commit sorts out (also
> > > why protected extensions need their docs extracted at build time -
> > > there's no source file in them for the IDE to poke).
> >
> > Yes. I'm looking at the __fetchScriptLibraryData function, which
> > attempts to retrieve information from the api.lcdoc file if there's no
> > manifest.xml file present. The .lcdoc files for widgets are quite
> > different from those for the dictionary (and with good reason), and much
> > useful information in the xml file is not present in the lcdoc file. I'm
> > guessing that much needs to change for this to work as described.
> >
> > --
> >   Mark Wieder
> >   ahsoftware at gmail.com
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list