T
T
Test2017-08-06 18:44:48
C++ / C#
Test, 2017-08-06 18:44:48

How to get the line that was changed?

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?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2017-08-06
@fedor_dev

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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question