We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


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.

Syntax highlighting

Provides syntax highlighting for programming, scripting, and markup languages. Also allows users to customize built-in languages.

Built-in languages

Offers built-in syntax highlighting and code editing experiences for the following languages:

  • C#
  • VB.NET
  • XML
  • HTML
  • Java
  • SQL
  • PowerShell
  • C
  • JavaScript
  • VBScript
  • Delphi

Custom languages

Users can create custom syntax highlighting by highlighting keywords and operators of their own language.

Highlighting user defined syntax in Windows Forms syntax editor

Advanced editor capabilities

Windows Forms code editor undo and redo

Undo and redo

Includes keyboard and context menu support for undo and redo operations that erase the last change in a document and reinsert it.

Windows Forms syntax editor code outlining

Code outlining

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.

Windows Forms code editor clipboard operations

Clipboard operations

Provides keyboard and context menu support to cut, copy, and paste.

Windows Forms code editor block selection


Supports rectangular block selection to select lines from specific columns like Visual Studio, plus normal selection.

Windows Forms code editor display line number

Line numbers

Choose to show or hide the line number at the start of a line.

Windows Forms code editor modified lines highlight with yellow color marker

Change tracking

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.

Windows Forms code editor indentation


Indentation support helps format source code to improve readability.

Windows Forms code editor word wrap

Word wrap

Offers different word wrapping styles, such as wrap by word or wrap by character, based on the available text area.

Windows Forms code editor auto complete


Completes the rest of a word the user is typing by selecting from a list of choices displayed as a context menu.

Windows Forms code editor auto correct


Autocorrects predefined typing errors when pressing certain keys. Includes an option to let users change their autoreplace trigger key.

Windows Forms code editor context menu for file, edit, and selection operations

Context menu

Provides built-in context menu support for file, edit, and selection operations, and much more.

Windows Forms code editor content divider

Content dividers

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.

Windows Forms code editor displays message in prompt

Context prompt

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.

Windows Forms code editor tooltip

Context tooltip

Provides built-in interactive tooltips that appear automatically when the pointer is placed over a collapsed block of text.

Line formatting

Windows Forms syntax editor highlight line

Highlight line

Highlight a particular line by changing its background color to help users distinguish a selected line from non-selected lines.

Windows Forms syntax editor formatting


Format text by underlining it with different styles such as solid, dash, wave, and dot lines.

Bookmarks and navigation

Windows Forms syntax editor bookmark


Users can locate a section or a line of a document for quick access to any part of the contents.

Windows Forms syntax editor navigate to next character, next line, start and end of file

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.

Search and replace

Windows Forms syntax editor search

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.

Windows Forms syntax editor find and replace

Find and replace

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.

End-user capabilities

Windows Forms syntax editor status bar displays file and application name

Status bar

Display information about the current state of the control such as the current file name, line number, and column number.

Windows Forms syntax editor short cut key binding

Shortcut keys

Provides shortcut key support for all editing and navigation operations. Also provides a built-in window for modifying the key mapping of shortcut operations.

Split view

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.

Windows Forms syntax editor split view

Single line mode

Make the syntax editor a simple text box with syntax highlighting, editing, and clipboard operations.

Windows Forms syntax editor single line mode


Windows Forms syntax editor text foreground

Text appearance

The appearance of the text color can be customized in a specific range of lines.

Drag at margin of Windows Forms syntax editor to select lines

Selection margin

Display a thin vertical strip that enables users to select the contents of the entire line.

Windows Forms syntax editor selected lines background

Selection color

Users can change the background color of selected text in the control.

Background customization

Users can change the background color of the control, and even supports gradient effects.

Globalization and localization

Windows Forms syntax editor localization


All visible strings in the control’s user interface can be localized to any desired language.

Windows Forms syntax editor right to left

Right to left

Supports laying out text in a left-to-right fashion, allowing the control be used to develop forms for worldwide audiences.

Windows Forms syntax editor export files as XML, HTML


Export syntax editor content with associated syntax highlighting information to XML, HTML, and RTF file formats.

Windows Forms syntax editor print


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.


Transform your applications today by downloading our free evaluation versionDownload Free Trial

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon