So WHEN is it called exactly? Before the save? When the save is fired? Or after the save? I mean, can I trust on the file already been written completely to disk once I get the "onSave" event?
Thank you,
Oliver
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'd like to run the Python re-indent script on every save. PyDev Scripting seams to be a good choice for that. However, I'm not sure about one thing:
http://fabioz.com/pydev/manual_articles_scripting.html says "onSave: want to do something when the PyEdit saves its content? That's your chance..."
So WHEN is it called exactly? Before the save? When the save is fired? Or after the save? I mean, can I trust on the file already been written completely to disk once I get the "onSave" event?
Thank you,
Oliver
It's called after the save.
Cheers,
Fabio