Hello...

I'm trying to add an api file in SciTEDirectory.properties.  The
language (lua) already has an api file specified in lua.properties.
I'd like to just add my custom api to the list for the language,
without explicitly knowing what api files might already be loaded.
(Extensibility, flowdown, blah blah.)

First, everything works perfectly if I specify the core api manually, like so:
api.$(file.patterns.lua)=$(SciteDefaultHome)/lualib5_annot.api;$(SciteDirectoryHome)/lua_wow.api

But trying this causes problems:
api.$(file.patterns.lua)=$(api.$(file.patterns.lua));$(SciteDirectoryHome)/lua_wow.api

When that line is present, neither api file seems to get loaded.
Investigation has determined that this is because
api.$(file.patterns.lua) (which evaluates down to api.*.lua, as it
happens) is an empty string when looked at in
SciTEDirectory.properties.  Other variables set in lua.properties can
be accessed just fine, so I don't know why this might be.

Does anyone have any idea how I could work around this, or if I'm
doing something stupid in here and not realizing it?

Thanks,
David
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to