Skip Navigation LinksActipro Software / Products / .NET Controls / Windows Forms / SyntaxEditor / Span Indicators

Product Details

Actipro SyntaxEditor
A syntax highlighting source code editing control

Latest Release:
v4.0.0277 on 10/13/2008

Supported Environments:
.NET 1.1 - 3.5
VS.NET 2003 - 2008

Blueprint License:
Source code is available for this product

SyntaxEditor Add-ons

Advanced C# and VB languages w/automated IntelliPrompt & more
Advanced XML language w/automated IntelliPrompt & more

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 SyntaxEditor - Windows Forms .NET Control

Feature Tour:

Span Indicators

Span indicators are indicators that apply to a range of text. Spelling errors (indicated by wavy lines) and breakpoints are excellent examples. Span indicators flow with text as it is modified. If characters are added within the span, the span indicator is expanded to hold the new characters. If all the characters within a span indicator are removed, the span indicator is removed from the document.

Each indicator can draw a glyph within the indicator margin, can specify a highlighting style to use for drawing text that the indicator contains, and can draw custom marks over the text contained by the indicator.

The breakpoint and current statement span indicators

Built-in span indicators include:

  • Breakpoint - used to mark a breakpoint in red and draws a red circle in the indicator margin... the breakpoint can be enabled and disabled
  • Disappearing - draws text in bold and disappears after a certain amount of time
  • Compiler error - draws a blue wave line under text
  • Current statement - used to mark the current executing statement in yellow and draws a yellow arrow in the indicator margin
  • Grammar error - draws a green wave line under text
  • Highlighting style - uses a highlighting style object to determine how to format the contained text
  • Read-only - draws a gray background and is generally used in a special span indicator layer that marks read-only regions of text
  • Spelling error - draws a blue wave line under text
  • Syntax error - draws a red wave line under text

Mechanisms are built into the SyntaxEditor object model that allow you to dynamically add and remove indicators to, as well as search for, existing indicators within a document.