Articles in this section
Category / Section

How to detect when WinForms SyntaxEditor (EditControl) text content is modified?

1 min read

LineChanged event

The text changed in EditControl can be notified through LineChanged event. Through this event you can also check whether the text is inserted or deleted by using the following code examples.

C#

Private void editControl1_LineChanged(object sender, TextChangedEventArgs e)
{           
   MessageBox.Show("Line Changed event " + e.Type);
}   

 

VB

Private Sub editControl1_LineChanged(sender As Object, e As TextChangedEventArgs)
   MessageBox.Show("Line Changed event " + e.Type)
End Sub

 

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/EditControl1960307950.zip

Reference link: https://help.syncfusion.com/windowsforms/syntax-editor/events#line-modification-events

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied