Exemple #1
0
        private void Reset()
        {
            CurrentText = TextCreater.GetText();
            CurrentText = CurrentText.Replace("\r", "");

            PausesList       = new List <double>();
            HoldingList      = new List <double>();
            StartEnterDate   = null;
            EndEnterDate     = null;
            KeyDownDate      = null;
            EndEnterDate     = null;
            PrewKey          = Key.None;
            ErrorCount       = 0;
            OverlappingCount = 0;

            Runs                = new LinkedList <Run>();
            Building            = new Run(string.Empty);
            Building.Background = Good;

            UserText = string.Empty;

            UpdateParagraph();
        }