Table of Contents

Method FindSnippet

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

FindSnippet(Point, bool, out int)

Locates code snippet at specified position.

public bool FindSnippet(Point position, bool exact, out int index)

Parameters

position Point

Position to locate code snippet.

exact bool

Specifies whether search should be precise.

index int

Receives index of code snippet in the snippets collection.

Returns

bool

True if succeed; otherwise false.