Table of Contents

Method InsertCodeSnippet

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

InsertCodeSnippet(ICodeSnippet, Point)

Inserts Code Snippet at the given position in the text

public virtual void InsertCodeSnippet(ICodeSnippet snippet, Point pos)

Parameters

snippet ICodeSnippet

Code Snippet to insert

pos Point

Text Position

InsertCodeSnippet(ICodeSnippet, Point, Point, bool)

protected virtual void InsertCodeSnippet(ICodeSnippet snippet, Point startPos, Point endPos, bool useIndent)

Parameters

snippet ICodeSnippet
startPos Point
endPos Point
useIndent bool