Exemplo n.º 1
0
        private void moveLineUpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EditorTabPage etb = GetActiveTab();

            if (etb != null)
            {
                etb.MoveLineUp(etb.Editor.ActiveTextAreaControl.TextArea.Caret.Line);
            }
        }
Exemplo n.º 2
0
        private void moveLineUpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TabPage tb = tabControl1.SelectedTab;

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

            etb.MoveLineUp(etb.Editor.ActiveTextAreaControl.TextArea.Caret.Line);
        }