Method IsFirstSnippet
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
IsFirstSnippet(ICodeSnippetRange)
Checks whether code snippet represents first snippet in subset of snippets that have the same ids.
public bool IsFirstSnippet(ICodeSnippetRange range)
Parameters
range
ICodeSnippetRangeSpecified the code snippet.
Returns
- bool
Returns True if snippet represents the first snippet with unique id.
IsFirstSnippet(int)
Checks whether code snippet represents first snippet in subset of snippets that have the same ids.
public bool IsFirstSnippet(int index)
Parameters
index
intSpecified index of the snippet.
Returns
- bool
Returns True if snippet represents the first snippet with unique id.