Table of Contents

Interface ICodeSnippetRanges

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

Represents methods to provide an indexed access to individual ICodeSnippetRange object.

public interface ICodeSnippetRanges : IList<ICodeSnippetRange>, ICollection<ICodeSnippetRange>, IEnumerable<ICodeSnippetRange>, IEnumerable
Extension Methods

Methods

BlockDeleting(Rectangle)

When implemented by a class, removes all snippets from the snippet collection which position in the specified rectangle.

FindSnippet(Point, bool, out int)

When implemented by a class, locates code snippet at specified position.

GetFirstSnippet()

When implemented by a class, finds first snippet in snippet collection with nonempty id.

GetNextSnippet(int)

When implemented by a class, finds next snippet in snippet collection with different id.

GetPrevSnippet(int)

When implemented by a class, finds previous snippet in snippet collection with different id.

IsFirstSnippet(ICodeSnippetRange)

When implemented by a class, checks whether code snippet represents first snippet in subset of snippets that have the same ids.

IsFirstSnippet(int)

When implemented by a class, checks whether code snippet represents first snippet in subset of snippets that have the same ids.

NeedClear(Rectangle)

When implemented by a class, obtains boolean value indicating whether all snippets need removing from the list.

NeedClear(int)

When implemented by a class, obtains boolean value indicating whether all snippets need removing from the list.

PositionChanged(int, int, int, int, bool)

When implemented by a class, changes positions of any code snippet located next to the specified position.

Sort()

When implemented by a class, sorts the snippet list.