Skip Navigation LinksActipro Software / Products / .NET Controls / ASP.NET / CodeHighlighter

Product Details

Actipro CodeHighlighter
A freeware code syntax highlighting web control for ASP.NET

Latest Release:
v4.0.0059 on 12/01/2010

Supported Environments:
.NET 2.0 or later
VS.NET 2005 or later

Other Products

General
Product List

Actipro Icons Essentials

Released on 02/08/2011
Actipro Icons Essentials contains over 2,500 unique icon designs for use in your applications, each with multiple size, state, and format combinations
Actipro Icons Essentials

Actipro Icons Elements

Released on 02/08/2011
Actipro Icons Elements is a set of over 600 overlay icons that can be combined with any other custom or third-party icon to give new meaning to the icon
Actipro Icons Elements
WPF Controls

Actipro WPF Studio

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
WPF Studio is a premium bundled suite of professional user interface controls and components for WPF
WPF Studio v11.2.0552

Actipro Bar Code

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Bar Code generates native WPF vector-based bar codes
   Bar Code

Actipro DataGrid Add-ons

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Add-ons with enhanced functionality, behaviors, and themes for the Microsoft WPF DataGrid control
   DataGrid

Actipro Docking & MDI

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Docking tool windows and multiple document interface for WPF
   Docking & MDI

Actipro Editors

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Contains a framework for building part-based and masked edit controls and includes numerous implementations such as an advanced DateTime picker with MonthCalendar
   Editors

Actipro Gauge

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Circular, linear, and digital gauge controls for WPF
   Gauge    Navigation

Actipro PropertyGrid

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
PropertyGrid is an advanced property grid control for WPF
   PropertyGrid

Actipro Ribbon

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Ribbon is a control suite duplicating the Office 2007 user interface
   Ribbon

Actipro SyntaxEditor

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
SyntaxEditor is the ultimate syntax-highlighting code editor control
   SyntaxEditor

Actipro Views

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Unique WPF controls, and panels that support fluid animated item layout
   Views

Actipro Wizard

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
Wizard is a control that makes it simple to create wizard dialogs in WPF
   Wizard

Actipro Shared Library

for Windows Presentation Foundation
v, released on
Useful common controls and components for WPF, included with our other WPF products
   Shared Library

Actipro WPF Essentials

for Windows Presentation Foundation
v11.2.0552, released on 01/30/2012
WPF Essentials is a bundle of Actipro's Docking & MDI, Editors, Navigation, Ribbon, Wizard and Shared Library WPF products
WPF Essentials v11.2.0552
Silverlight Controls

Actipro Silverlight Studio

for Silverlight
v11.2.0121, released on 01/30/2012
Silverlight Studio is a premium bundled suite of professional user interface controls and components for Silverlight
Silverlight Studio v11.2.0121

Actipro Bar Code

for Silverlight
v11.2.0121, released on 01/30/2012
Bar Code generates native Silverlight vector-based bar codes
   Bar Code

Actipro SyntaxEditor

for Silverlight
v11.2.0121, released on 01/30/2012
SyntaxEditor is the ultimate syntax-highlighting code editor control
   SyntaxEditor

Actipro Views

for Silverlight
v11.2.0121, released on 01/30/2012
Unique Silverlight controls, and panels that support fluid animated item layout
   Views

Actipro Wizard

for Silverlight
v11.2.0121, released on 01/30/2012
Wizard is a control that makes it simple to create wizard dialogs in Silverlight
   Wizard

Actipro Shared Library

for Silverlight
v, released on
Useful common controls, components, and themes for Silverlight
   Shared Library
Windows Forms .NET Controls

Actipro SyntaxEditor

for Windows Forms
v4.0.0290, released on 01/30/2012
SyntaxEditor is a syntax-highlighting source code editing control
SyntaxEditor v4.0.0290

Actipro .NET Languages Add-on

for Windows Forms
v4.0.0290, released on 01/30/2012
Advanced C# and Visual Basic language implementations for use with the SyntaxEditor control
   .NET Languages Add-on

Actipro Web Languages Add-on

for Windows Forms
v4.0.0290, released on 01/30/2012
An advanced XML language implementation for use with the SyntaxEditor control
   Web Languages Add-on

Actipro UIStudio

for Windows Forms
v2.0.0113, released on 01/30/2012
UIStudio is a suite of next-generation dockable toolbars, menus, statusbars, dockable windows, tabstrips, and navigationbar controls
UIStudio v2.0.0113

Actipro Wizard

for Windows Forms
v3.0.0144, released on 12/01/2010
Wizard is a control with powerful design-time functionality for creating wizards
Wizard v3.0.0144
ASP.NET Controls

Actipro CodeHighlighter

for ASP.NET
v4.0.0059, released on 12/01/2010
CodeHighlighter is a freeware code syntax highlighting web control for ASP.NET
CodeHighlighter v4.0.0059

Product Newsletter

If you would like to receive periodic informative newsletters about our new .NET controls and events, please fill out the following information.
Name:
 
E-mail Address:
 
Where did you hear about our products?
 

Actipro CodeHighlighter - ASP.NET Control

Actipro Software has donated the CodeHighlighter ASP.NET web control to the developer community as freeware.

CodeHighlighter is the most powerful source code syntax highlighting component available for the .NET environment. It makes providing syntax highlighted code samples on your web sites a trivial task. The code samples have a professional appearance and are easy to read. You essentially tell the ASP.NET CodeHighlighter web control what code to highlight (either by inserting it inline or by programmatically setting a Text property) and in the rendering phase of its web page it outputs the code in syntax highlighted format. Custom language definitions may be developed for the control and code outlining, line numbering, and keyword linking are even supported.

The CodeHighlighter component is based on the engine of the popular Actipro SyntaxEditor control, a .NET Windows Forms syntax-highlighting text editor control that has nearly all the features and capabilities of the Visual Studio .NET code editor. Many of the same classes that are used in CodeHighlighter are also used in SyntaxEditor, therefore allowing language definitions and semantic parser code to be shared between the two products. For more information about SyntaxEditor see below or visit the control's home page.

CodeHighlighter is a .NET control for ASP.NET, completely written in C#.

Feature List

CodeHighlighter supports the following major features:

  • Flexible ASP.NET web control inferface that syntax highlights source code
  • Code can be added within the web control's tag block or set programmatically
  • Web.config file configuration settings
  • Language definition caching
  • Multiple language support
  • Custom backtracking NFA regular expression engine
  • XML language definitions
  • Lexical parsing of text into tokens
  • Code outlining via DHTML
  • Code outlining degrades gracefully if the browser will not support it
  • Line numbers with custom colors and padding characters
  • Keyword linking to external URLs
  • Sample language definitions for Assembly, Batch files, C#, CSS, HTML, INI files, Java, JScript, Lua, MSIL, Pascal, Perl, PHP, PowerShell, Python, SQL, VB.NET, VBScript, XAML, and XML
  • Sample web page demonstrating inline use of the web control
  • Sample web page demonstrating how to paste code into a TextBox and highlight it
  • Sample web page demonstrating how to upload a code file and highlight it