2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
We can customize the color of line if it is end with specific character. It can be achieved by setting the lexem in custom config file.
LexemIt contains rules for parsing the text. There are two attributes to specify the format of the lexem.
Here we have highlighted the line if end with “!” character. The following code demonstrates the same.
XML
C# //Define config file path private string configPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\..\\..\\Config.xml"; public Form1() { InitializeComponent(); editControl1.Text = "Hello World!" + Environment.NewLine + "Welcome" + Environment.NewLine + "Have a Good Day!"; // External configuration file. this.editControl1.Configurator.Open(configPath); // Apply the configuration defined in the configuration file. this.editControl1.ApplyConfiguration("new"); }
Screenshot
Sample: SyntaxEditorSample
|
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.