ACAT.Extensions.Default.FunctionalAgents.LectureManager.LectureManagerMainForm.getPreviousPara C# (CSharp) Method

getPreviousPara() private method

Gets the prevous para object
private getPreviousPara ( ) : Paragraph
return Paragraph
        private Paragraph getPreviousPara()
        {
            for (int ii = _paragraphs.Count() - 1; ii >= 0; ii--)
            {
                if (_paragraphs[ii].Start < textBox1.SelectionStart)
                {
                    return _paragraphs[ii];
                }
            }

            return null;
        }