private void cLFormatterToolStripMenuItem_Click(object sender, EventArgs e) { if (this.LastEditing.Tag != null) { Member MemberInfo = (Member)this.LastEditing.Tag; ILELanguage Language = Editor.GetBoundLangType(MemberInfo.GetExtension()); if (Language == ILELanguage.CL) { SetStatus("Formatting CL in " + MemberInfo.GetMember()); LastEditing.FormatCL(); } } }
private void cLFormatterToolStripMenuItem_Click(object sender, EventArgs e) { if (this.LastEditing.Tag != null) { RemoteSource SourceInfo = (RemoteSource)this.LastEditing.Tag; Language Language = Editor.GetBoundLangType(SourceInfo.GetExtension()); if (Language == Language.CL) { SetStatus("Formatting CL in " + SourceInfo.GetName()); LastEditing.FormatCL(); } } }