private void cutLineToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EditorTabPage etb = GetActiveTab();

            if (etb != null)
            {
                etb.SelectLine(etb.Editor.ActiveTextAreaControl.TextArea.Caret.Line);
                etb.Cut();
            }
        }
Beispiel #2
0
        private void cutLineToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TabPage tb = tabControl1.SelectedTab;

            if (tb as EditorTabPage == null)
            {
                return;
            }
            EditorTabPage etb = tb as EditorTabPage;

            etb.SelectLine(etb.Editor.ActiveTextAreaControl.TextArea.Caret.Line);
            etb.Cut();
        }