Author Topic: File Save event  (Read 4876 times)

Offline dushara

  • Multiple posting newcomer
  • *
  • Posts: 29
File Save event
« 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.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: File Save event
« Reply #1 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 :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: File Save event
« Reply #2 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.