public void SaveFileToLilypond() //Channelcommand to save the editor as a a lilypond file (see class FileExporter) { fileExporter.SaveAsLilypond(lilypondText.Text); needsSaving = false; }