The xamSyntaxEditor is a cross platform control providing a code editing experience similar to Microsoft’s Visual Studio Integrated Development Environment (IDE) code window.
The xamSyntaxEditor provides you with the ability to display and edit the text contained in a TextDocument class. The TextDocument class exposes properties, methods and events for loading, saving and manipulating the contained text. There are no limitations on the size of the text contained in the TextDocument.
The TextDocument class uses highly optimized lexing and parsing algorithms that allow the xamSyntaxEditor control to provide syntax highlighting, (using text colorization) and error highlighting (using squiggly underlines as in Visual Studio) based on predefined language definitions. Where possible, perform time-consuming operations, such as lexing and parsing on-demand and in background threads, which allows you to display very large documents very quickly.
The following screen shot shows the xamSyntaxEditor, in split mode, editing some C# code:
The TextDocument snapshots represent the state of the document at a specific point in time and expose methods for obtaining, traversing and searching through its content.
Navigational aide, which supports splitting the editing area into two separate regions, either horizontal or vertical, to simultaneously observe different parts of the file being edited.
This section is a gateway to important conceptual and task-based information that will help you use various functions and features provided by the xamSyntaxEditor cross platform control.