Ejemplo n.º 1
0
        public void GotoLine()
        {
            FastColoredTextBoxNS.GoToForm _gotoForm = new FastColoredTextBoxNS.GoToForm();
            _gotoForm.SelectedLineNumber = CurrentLineNumber();
            _gotoForm.TotalLineCount     = rtf.Lines.Length;

            DialogResult _result = _gotoForm.ShowDialog();

            if (_result == DialogResult.OK)
            {
                GotoLine(_gotoForm.SelectedLineNumber);
            }
        }