Пример #1
0
        private void tasText_LineInserted(object sender, LineInsertedEventArgs e)
        {
            RichText tas   = (RichText)sender;
            int      count = e.Count;

            while (count-- > 0)
            {
                InputRecord input = new InputRecord(tas.GetLineText(e.Index + count));
                Lines.Insert(e.Index, input);
                totalFrames += input.Frames;
            }

            UpdateStatusBar();
        }