public void Save()
 {
     textEditor.SaveFile(textEditor.FileName);
 }