private void flagLongSentences()
{
int bufferSize = getSpeechBufferSize();
if (bufferSize <= 0)
{
return;
}
foreach (Sentence sentence in _sentences)
{
if (sentence.Length > bufferSize)
{
textBox1.SelectionStart = sentence.Start;
textBox1.SelectionLength = sentence.Length;
textBox1.SelectionColor = Color.Red;
}
}
}