Snippets perform automatic text insertion. Snippets can be interactive after they were expanded, for example to allow the user to easily replace fields in the expanded snippet.
Declaration Syntax
C# | Visual Basic | Visual C++ |
namespace ICSharpCode.AvalonEdit.Snippets
Namespace ICSharpCode.AvalonEdit.Snippets
namespace ICSharpCode.AvalonEdit.Snippets
Types
All Types | Classes | Interfaces | Enumerations |
Icon | Type | Description |
---|---|---|
AnchorElement |
AnchorElement created by SnippetAnchorElement.
| |
DeactivateReason |
Describes the reason for deactivation of a SnippetElement.
| |
IActiveElement |
Represents an active element that allows the snippet to stay interactive after insertion.
| |
InsertionContext |
Represents the context of a snippet insertion.
| |
IReplaceableActiveElement |
Interface for active element registered by SnippetReplaceableTextElement.
| |
Snippet |
A code snippet that can be inserted into the text editor.
| |
SnippetAnchorElement |
Creates a named anchor that can be accessed by other SnippetElements.
| |
SnippetBoundElement |
An element that binds to a SnippetReplaceableTextElement and displays the same text.
| |
SnippetCaretElement |
Sets the caret position after interactive mode has finished.
| |
SnippetContainerElement |
A snippet element that has sub-elements.
| |
SnippetElement |
An element inside a snippet.
| |
SnippetEventArgs |
Provides information about the event that occured during use of snippets.
| |
SnippetReplaceableTextElement |
Text element that is supposed to be replaced by the user.
Will register an IReplaceableActiveElement.
| |
SnippetSelectionElement |
Inserts the previously selected text at the selection marker.
| |
SnippetTextElement |
Represents a text element in a snippet.
|