Renamed package onEditorPostSave event to onEditorSave for consistency (ref #166).

This commit is contained in:
Paul Kulchenko
2013-08-24 17:02:06 -07:00
parent 58a494931c
commit 96f0f876bf
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ local events = {
onEditorClose = function(self, editor) end,
onEditorNew = function(self, editor) end,
onEditorPreSave = function(self, editor, filepath) end, -- return false
onEditorPostSave = function(self, editor) end,
onEditorSave = function(self, editor) end,
onEditorFocusLost = function(self, editor) end,
onEditorFocusSet = function(self, editor) end,
onEditorKeyDown = function(self, editor, event) end, -- return false

View File

@@ -204,7 +204,7 @@ function SaveFile(editor, filePath)
SetDocumentModified(id, false)
SetAutoRecoveryMark()
PackageEventHandle("onEditorPostSave", editor)
PackageEventHandle("onEditorSave", editor)
return true
else