Beispiel #1
0
 def openDoc(self, name):
     name = unicode(name)
     path = self.getPathByName(name)
     self.createFolders(path)
     if hasattr(self, "path") and self.path:
         self.saveDoc()
     Editor.openDoc(self, path)
Beispiel #2
0
 def rename(self, oldName, newName):
     oldName = unicode(oldName)
     newName = unicode(newName)
     Editor.rename(self, self.getPathByName(oldName), self.getPathByName(newName))
Beispiel #3
0
 def deleteDoc(self, name):
     name = unicode(name)
     path = os.path.join(self.notesFolder, name)
     Editor.deleteDoc(self, path)