Interface ITextSnippets
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.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
ICodeSnippetRange
object.
- CodeSnippets
When implemented by a class, gets or sets
ICodeSnippetRangeList
for Edit control.
- CurrentSnippet
When implemented by a class, gets or sets the current
ICodeSnippetRange
object.
Methods
- BeginUpdateSnippet()
When implemented by a class, prevents the Edit control from updating snippets until the
EndUpdateSnippet
method is called.
- EndUpdateSnippet()
When implemented by a class, resumes updating snippets after updating is suspended by the
BeginUpdateSnippet
method.
- 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.