InsertCodeSnippet Method
InsertCodeSnippet(ICodeSnippet, Point)
Inserts Code Snippet at the given position in the text
Declaration
public virtual void InsertCodeSnippet(ICodeSnippet snippet, Point pos)
Parameters
Type | Name | Description |
---|---|---|
ICodeSnippet | snippet | Code Snippet to insert |
Point | pos | Text Position |
InsertCodeSnippet(ICodeSnippet, Point, Point, Boolean)
Declaration
protected void InsertCodeSnippet(ICodeSnippet snippet, Point startPos, Point endPos, bool useIndent)
Parameters
Type | Name | Description |
---|---|---|
ICodeSnippet | snippet | |
Point | startPos | |
Point | endPos | |
Boolean | useIndent |