Method FindSnippet
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.dll
FindSnippet(Point, bool, out int)
Locates code snippet at specified position.
public bool FindSnippet(Point position, bool exact, out int index)
Parameters
positionPointPosition to locate code snippet.
exactboolSpecifies whether search should be precise.
indexintReceives index of code snippet in the snippets collection.
Returns
- bool
True if succeed; otherwise false.