Articles in this section

How to set custom indicators to denote white spaces in WinForms SyntaxEditor (EditControl)?

Space indicator character

You could set custom indicators for white spaces by using the EditControl's NewLineString, TabString and SpaceChar sub-properties of the WhiteSpaceIndicators property as shown in code below.

C#

this.editControl1.WhiteSpaceIndicators.NewLineString = "LF";
this.editControl1.WhiteSpaceIndicators.TabString = "TAB";
this.editControl1.WhiteSpaceIndicators.SpaceChar = "s";

 

VB

Me.editControl1.WhiteSpaceIndicators.NewLineString = "LF"
Me.editControl1.WhiteSpaceIndicators.TabString = "TAB"
Me.editControl1.WhiteSpaceIndicators.SpaceChar = "s"

 

Note:

The EditControl's ShowWhiteSpaces property has to be set to true for this purpose.

 

Reference link: https://help.syncfusion.com/windowsforms/syntaxeditor/editing#space-indicators

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