On Tue, 25 Dec 2007 11:31:52 +0100, Bo Lorentsen bl@lue.dk wrote:
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.
For an example see Nick's great signal example plugin (http://lists.uvena.de/pipermail/geany/2007-August/001570.html).
Sometime I'll put this into a plugin howto...
Regards, Enrico