Interface ITextSnippets
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.dll
Represents properties and methods to provide code snippet functionality.
public interface ITextSnippets
Properties
- AutoInsertSnippet
When implemented by a class, gets or sets auto-inserted
ICodeSnippetRangeobject.
- CodeSnippets
When implemented by a class, gets or sets
ICodeSnippetRangeListfor Edit control.
- CurrentSnippet
When implemented by a class, gets or sets the current
ICodeSnippetRangeobject.
Methods
- BeginUpdateSnippet()
When implemented by a class, prevents the Edit control from updating snippets until the
EndUpdateSnippetmethod is called.
- EndUpdateSnippet()
When implemented by a class, resumes updating snippets after updating is suspended by the
BeginUpdateSnippetmethod.
- GetCodeSnippetRangeAt(Point)
When implemented by a class, locates code snippet at specified position.
- HighlightCodeSnippets()
When implemented by a class, highlights code snippets using appropriate style.
- UnhighlightCodeSnippets()
When implemented by a class, removes highlighting from code snippets and clears snippet collection.