The WPF Syntax Highlighting and Code Editor control is a powerful text editor control similar to the Microsoft Visual Studio editor. It provides built-in syntax highlighting and code editing experience for popular languages, and allows users to create custom syntax highlighting of 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, line numbering, highlighting modified lines, custom language configuration, and more.
Provides syntax highlighting for procedural programming and markup languages. Also allows users to customize built-in languages.
Offers built-in syntax highlighting and code editing experiences for the following languages:
Allows users to create custom syntax highlighting of keywords and operators of their own language.
IntelliSense displays a pop-up with a list of code completion options to speed up coding by reducing typos and other common mistakes. Allows users to get the list of code completion words from any external assembly reference.
Displays code blocks in tree structure and allows users to expand and collapse the code blocks interactively for readability. WPF Syntax Editor automatically chooses where to create outlines for built-in languages. Also allows users to create outlining for their own syntax highlighting.
Support to comment or uncomment codes with the help of comment option of the WPF Syntax Editor. Allows users to select the required block of codes to comment. WPF Syntax Editor comments the current line when there is no selection.
Displaying markers at the start of lines modified after the file is loaded or after the last file save operation.
Supports built-in commands to design development environment for popular languages. Provides commands for file (editing operations such as new, open, save, print, indent, and more).
Includes keyboard and context menu support for undo and redo operations that erase the last change in a document and reinsert it.
Provides clipboard operations such as cut, copy, and paste using keyboard and context menu.
Allows users to select the text interactively using mouse and keyboard. Users can select the text in touch environment by double tapping the text and extending the selection using touch pointer.
Find occurrences of specified text with constraints such as match case, match whole words, and search directions. Also allows users to search text in a specific scope like current document or within selected content.
Replace the specified text with the replacement text as per the conditions specified. Includes options to replace the first occurrence or all occurrences of the search text.
Displays the line number at the start of a line for the users to identify the current number.
Support to highlight a particular line with different background color. It helps users differentiate a specific line from the non-highlighted lines.
Navigation to the next character or word, or the start or end of a line can be done easily through keyboard. Allows users to jump to specific lines using go to line dialog.
Provides built-in interactive tooltips that appear automatically when the pointer is placed over a collapsed block of text.
Provides built-in context menu support with editing, and selection operations such as cut, copy, paste and select all, and much more.
Support to use WPF Syntax Editor as viewer control in order to view files and restrict code editing.
Provides a rich set of built-in themes inspired by popular interfaces such as Visual Studio, Microsoft Office, and Expression Blend.
Support to print syntax editor content either by using the print option from the print preview or programmatically. The print preview window allows users to choose page orientation, print entire document or the specific page, and number of copies to print.
The WPF Syntax Editor supports localization to translate the static text to any desired language.