[Geany] getting project base_path from plugin
Bo Lorentsen
bl at xxxxx
Tue Dec 25 10:31:52 UTC 2007
Yura Siamashka wrote:
>
> #define app geany_data->app
> #define doc_array geany_data->doc_array
> #define prefs geany_data->prefs
> #define project app->project
I did not notice these, have not been working with C preprocessor for a
while now, so this is easy to forget :-)
> geany_data->app->geany_data->app->project
Yeps, this makes sense !
> use "project" instead of "app->project"
Done, and it works, too !
>> Also, how do I get noted if the project is changed or saved ?
> see plugindata.h callbacks "project-open", "project-save", "project-close".
Hmm, I take a look again, thanks.
/BL
More information about the Users
mailing list