The WinForms Syntax Highlighting and Code Editor control is a powerful text editor control similar to the Microsoft Visual Studio editor. Provides built-in syntax highlighting and code editing experience for popular languages and users can create custom syntax highlighting by highlighting keywords and operators of their own language. It offers all the essential features end users expect, like syntax highlighting, editing, undo, redo, cut, copy, paste, IntelliSense, error validation, line numbering, highlighting modified lines, custom language configuration. Supports context choice, context tooltip, single line mode, multi-tasking with split view, word wrap, print, and export options.
Provides syntax highlighting for programming, scripting, and markup languages. Also allows users to customize built-in languages.
Offers built-in syntax highlighting and code editing experiences for the following languages:
Users can create custom syntax highlighting by highlighting keywords and operators of their own language.
Includes keyboard and context menu support for undo and redo operations that erase the last change in a document and reinsert it.
Provides support to collapse each block into a single line. The syntax editor can automatically choose where to create outlines for built-in languages. Users can also choose to create outlining for their own syntax highlighting.
Provides keyboard and context menu support to cut, copy, and paste.
Supports rectangular block selection to select lines from specific columns like Visual Studio, plus normal selection.
Choose to show or hide the line number at the start of a line.
Tracks changed lines by displaying markers at the start of lines that have been modified after the file has been loaded or after the last file save operation.
Indentation support helps format source code to improve readability.
Offers different word wrapping styles, such as wrap by word or wrap by character, based on the available text area.
Completes the rest of a word the user is typing by selecting from a list of choices displayed as a context menu.
Autocorrects predefined typing errors when pressing certain keys. Includes an option to let users change their autoreplace trigger key.
Provides built-in context menu support for file, edit, and selection operations, and much more.
Clearly distinguish content sections with line dividers, similar to Visual Basic, to improve code readability.
IntelliSense displays a pop-up with a list of code completion options to speed up coding by reducing typos and other common mistakes.
Display helpful pop-up hints about alternate syntax for invoking what is being typed and its parameters. User can choose their invocation overload with the Up Arrow and Down Arrow keys or by clicking the arrow buttons in the pop-up.
Provides built-in interactive tooltips that appear automatically when the pointer is placed over a collapsed block of text.
Highlight a particular line by changing its background color to help users distinguish a selected line from non-selected lines.
Format text by underlining it with different styles such as solid, dash, wave, and dot lines.
Users can locate a section or a line of a document for quick access to any part of the contents.
Navigation to the next character or word, or the start or end of a line can be done easily through keyboard actions or programmatically. Users can also jump to specific lines.
Find occurrences of specified text with constraints such as case matching, matching whole words, and search directions. Also allows users to search text with regular expressions.
Replace specified text with replacement text as per the conditions specified. Includes options to replace the first occurrence or all occurrences of the search text.
Display information about the current state of the control such as the current file name, line number, and column number.
Provides shortcut key support for all editing and navigation operations. Also provides a built-in window for modifying the key mapping of shortcut operations.
Display a single document in several views with horizontal and vertical orientations, allowing users to work on different areas of a document at the same time.
Make the syntax editor a simple text box with syntax highlighting, editing, and clipboard operations.
The appearance of the text color can be customized in a specific range of lines.
Display a thin vertical strip that enables users to select the contents of the entire line.
Users can change the background color of selected text in the control.
All visible strings in the control’s user interface can be localized to any desired language.
Supports laying out text in a left-to-right fashion, allowing the control be used to develop forms for worldwide audiences.
Export syntax editor content with associated syntax highlighting information to XML, HTML, and RTF file formats.
Print syntax editor content either by using the Print option from the print preview or programmatically. The print preview window lets users choose to print an entire document or the current page, and specify the number of copies to print.