We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Repeat Waveline on editor

I am tring to figure out how to make the editor wave underline every word on everyline that starts on a certain column and has a space in front (or any other char I choose). How can I do this ?

1 Reply

AD Administrator Syncfusion Team January 3, 2003 06:23 AM UTC

Hi Chris, The following new event has been added to EditControl: /// /// Event for the line information update. /// [ Category("Essential Edit"), Description("Occurs when the line information is updated."), ] public event LineInfoUpdateEventHandler LineInfoUpdate; To add wave lines for a line based on some special criteria, just provide a handler for the above event. For example, the following sample handler will add a wave line since the 10th character for each line: private void editControl1_LineInfoUpdate(object sender, Syncfusion.Windows.Forms.Edit.LineInfoUpdateEventArgs e) { int length = editControl1.GetLineLength(e.Line); if (length > 10) { editControl1.AddWaveLine(e.Line, 10, length+1, "Wave Line Red"); } } Please open a support incident and a support engineer will send you the latest version of Essential Edit. Thanks for choosing Essential Suite. Syncfusion Technical Support > I am tring to figure out how to make the editor wave underline every word on everyline that starts on a certain column and has a space in front (or any other char I choose). How can I do this ?

Loader.
Live Chat Icon For mobile
Up arrow icon