The richTextBox has an event TextChange. And so together with this event I should receive a line in which there was a change of the text. How can this be implemented?
Only this option:
string TempStr=""
event TextChanged()
{
Compare the current text in richTextBox.Text with TempStr and look for changes
TempStr=richTextBox.Text
}
Only this algorithm