Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: dushara on January 20, 2011, 12:52:32 pm

Title: File Save event
Post by: dushara on January 20, 2011, 12:52:32 pm
Does CB have a file save event a plug-in can register to? Would be useful for a Version Control Plug-in to refresh the file status.

Title: Re: File Save event
Post by: oBFusCATed on January 20, 2011, 01:46:32 pm
Look at sdk_events.h and if there isn't you can add it and then provide a patch :)
Title: Re: File Save event
Post by: jens on January 20, 2011, 01:58:31 pm
It's there and it's called cbEVT_EDITOR_SAVE, just search for it in the sources and you will see how it can be used.