Method FindSnippet
FindSnippet(Point, bool, out int)
Locates code snippet at specified position.
public bool FindSnippet(Point position, bool exact, out int index)
Parameters
position
PointPosition to locate code snippet.
exact
boolSpecifies whether search should be precise.
index
intReceives index of code snippet in the snippets collection.
Returns
- bool
True if succeed; otherwise false.