INormalizedTextChangeCollection Interface
A normalized list of ITextChange objects. Changes are sorted in ascending order of position, and abutting and overlapping changes are combined into a single change.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Interface INormalizedTextChangeCollection _
Inherits IList(Of ITextChange), ICollection(Of ITextChange), _
IEnumerable(Of ITextChange), IEnumerable
public interface INormalizedTextChangeCollection : IList<ITextChange>,
ICollection<ITextChange>, IEnumerable<ITextChange>, IEnumerable
public interface class INormalizedTextChangeCollection : IList<ITextChange^>,
ICollection<ITextChange^>, IEnumerable<ITextChange^>, IEnumerable
type INormalizedTextChangeCollection =
interface
interface IList<ITextChange>
interface ICollection<ITextChange>
interface IEnumerable<ITextChange>
interface IEnumerable
end
public interface INormalizedTextChangeCollection extends IList<ITextChange>, ICollection<ITextChange>, IEnumerable<ITextChange>, IEnumerable
The INormalizedTextChangeCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITextChange>.) | |
IncludesLineChanges | Determines whether any of the ITextChange objects in this list have a nonzero LineCountDelta. | |
IsReadOnly | Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITextChange>.) | |
Item | Gets or sets the element at the specified index. (Inherited from IList<ITextChange>.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection. (Inherited from ICollection<ITextChange>.) | |
Clear | Removes all items from the ICollection. (Inherited from ICollection<ITextChange>.) | |
Contains | Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITextChange>.) | |
CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITextChange>.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITextChange>.) | |
IndexOf | Determines the index of a specific item in the IList. (Inherited from IList<ITextChange>.) | |
Insert | Inserts an item to the IList at the specified index. (Inherited from IList<ITextChange>.) | |
Remove | Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITextChange>.) | |
RemoveAt | Removes the IList item at the specified index. (Inherited from IList<ITextChange>.) |
Top
Remarks
INormalizedTextChangeCollection objects are immutable.
This collection is used in Changes.