コード例 #1
0
        protected void Cut()
        {
            var sel = sci.GetSelection();
            var sl  = sci.GetLineFromPosition(sel.Start);

            if (sl != sci.LineCount - 1 || sci.GetColumnFromPosition(sel.Start) > lastLen)
            {
                sci.Copy();
            }
            else
            {
                sci.Cut();
            }
        }