void ctlToolbar_Copy() { if (CodeView) { textEditor.Copy(); } else { Save(); m_scripts.Copy(GetSelectedIndicesArray()); } }