AqiStar.TextBox Syntax Highlighting WPF control

High performance syntax coloring textbox for Windows Vista applications.

Language Definition Features

AqiStar.TextBox Language Definitions

Language definition is a XML document that define how to highlight a particular language. Language definitions for 7 different languages are provided directly by AqiStar.TextBox but one can build a custom definition with easy and instruct AqiStar.TextBox to use it to highlight a text.

Even for language definitions everything can be designed with XAML and no custom .NET code is needed.

  • Direct support for highlight C#, VB.NET, XML/XAML, HTML, ASP.NET, Java/JavaScript source code just selecting it.
  • Custom language definition written in XAML and shared using WPF resources.

    WPF resources can contain a AqiStar.TextBox Language Definition so you can create a language definition to be shared among all control of an application or even a single control, preventing to load language definitions for textboxes that don't need them.

  • Support for regular expression in order to define begin/end of a span.

    This feature can be very useful if you need to colorize a region of text that is difficult to isolate without regular expressions. For example if you want to set a different background color for a java script code in a html document then you have to intercept text like '<script language = "JavaScript">'. With regular expressions you can get that just defining a begin span with content '<script\s+language\s*=\s*"JavaScript"[^>'.

  • Support for different font in same document.

    Many text editor support only one font. This means that you can change only the font color or specify a font style. In AqiStar.TextBox you can select a different font for each span in the same way you set for example bold style.