private void cmSectionAddSectionLine_Click(object sender, EventArgs e) { cEditor editor = cMainEditor.getDocActive(); if (editor != null) { editor.addSectionLine(); } }