UI for WinForms
The Syntax Editor control for WinForms is a powerful text editor with built-in syntax highlighting and code editing capabilities. Out of the box it ships with built-in support for popular programming languages, and the needed extension points to accommodate any custom language. This is also complimented by a great code editing experience with all the features one might expect from an IDE code editor control such as editing, find and replace, undo and redo, zooming and line numbers, keyboard shortcuts and many more.
The Syntax Editor control supports all frequently used keyboard shortcuts combinations found in other text editors.
Telerik Syntax Editor for WinForms offers a range of syntax highlighting capabilities for both procedural programming and markup languages. The Syntax Editor for WinForms enables users to customize built-in languages or highlight their own custom language.
The code within the Syntax Editor for WinForms is displayed as blocks in a tree-like structure that enables users to easily expand and collapse the various code blocks for interactive readability.
The Syntax Editor comes with a wide range of useful commands accessed through the Commands property of the control. They include but are not limited to, undo and redo operations that erase the last change in a document and reinsert it; navigate and select the next matched text; copy, paste, cut or delete a selected text; show the IntelliSense code completion dialog, and many more.
The full list of commands can be found on Telerik UI for WinForms official documentation.
The Syntax Editor offers support for IntelliPrompts, which significantly speeds up the coding process. The control shows IntelliPrompts for code completion and method overloading for reducing typos and other common mistakes.
Telerik’s Syntax Editor for WinForms enables users to quickly find and replace specified text within their code, including an option to replace the first or all occurrences of the searched text.
With the Syntax Editor, users can zoom in and out up to four times the original font size of the text.
The Syntax Editor control comes with four different palettes to choose from—Light, Dark, Neutral, and Neutral Dark—which can be applied to the syntax-related words of the control. In addition to the built-in color palettes, the control allows for custom ones to be created and applied.
Word wrapping is a handy part of any editor, and this feature makes the reading and writing experience effortless. If you enable this functionality, you will no longer need a horizontal scrollbar when there is a long row exceeding the SyntaxEditor visible area. Instead, the text will be automatically moved to the next line, improving the customer experience.
Each line of the Syntax Editor is numbered, enabling users to easily navigate through the editor.