c_ext/c_ext.py
changeset 1061 02f371f3e063
parent 953 1fb6cf5a4c4d
child 1096 c9ace6a881c9
equal deleted inserted replaced
1060:ac9896336b90 1061:02f371f3e063
   142         return ""
   142         return ""
   143                 
   143                 
   144     def CTNTestModified(self):
   144     def CTNTestModified(self):
   145         return self.ChangesToSave or not self.CFileIsSaved()    
   145         return self.ChangesToSave or not self.CFileIsSaved()    
   146 
   146 
   147     def OnCTNSave(self):
   147     def OnCTNSave(self, from_project_path=None):
   148         filepath = self.CFileName()
   148         filepath = self.CFileName()
   149         
   149         
   150         text = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n"
   150         text = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n"
   151         extras = {"xmlns":"http://www.w3.org/2001/XMLSchema",
   151         extras = {"xmlns":"http://www.w3.org/2001/XMLSchema",
   152                   "xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance",
   152                   "xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance",