IElisionSnapshot Interface

 

A snapshot from an IElisionBuffer object.

Namespace:   Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public interface IElisionSnapshot : IProjectionSnapshot, ITextSnapshot

NameDescription
System_CAPS_pubpropertyContentType

Gets the IContentType of the TextBuffer when this snapshot was current.(Inherited from ITextSnapshot.)

System_CAPS_pubpropertyItem[Int32]

Gets one character at the specified position.(Inherited from ITextSnapshot.)

System_CAPS_pubpropertyLength

Gets the number of UTF-16 characters in the snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubpropertyLineCount

Gets the number of lines in the snapshot. (Inherited from ITextSnapshot.)

System_CAPS_pubpropertyLines

Gets an enumerator for the set of lines in the snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubpropertySourceSnapshot

Gets the text snapshot on which this elision snapshot is based.

System_CAPS_pubpropertySourceSnapshots

Gets the set of one or more text snapshots that contribute source spans to this projection snapshot. (Inherited from IProjectionSnapshot.)

System_CAPS_pubpropertySpanCount

Gets the number of source spans in the projection snapshot.(Inherited from IProjectionSnapshot.)

System_CAPS_pubpropertyTextBuffer

Gets the IElisionBuffer of which this is a snapshot.

System_CAPS_pubpropertyVersion

The version of the ITextBuffer that this ITextSnapshot represents.(Inherited from ITextSnapshot.)

NameDescription
System_CAPS_pubmethodCopyTo(Int32, Char[], Int32, Int32)

Copies a range of text to a character array.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodCreateTrackingPoint(Int32, PointTrackingMode)

Creates a ITrackingPoint in this snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodCreateTrackingPoint(Int32, PointTrackingMode, TrackingFidelityMode)

Creates a ITrackingPoint in this snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodCreateTrackingSpan(Int32, Int32, SpanTrackingMode)

Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodCreateTrackingSpan(Int32, Int32, SpanTrackingMode, TrackingFidelityMode)

Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodCreateTrackingSpan(Span, SpanTrackingMode)

Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodCreateTrackingSpan(Span, SpanTrackingMode, TrackingFidelityMode)

Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodGetLineFromLineNumber(Int32)

Gets an ITextSnapshotLine for the given line number.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodGetLineFromPosition(Int32)

Gets an ITextSnapshotLine for a line at the given position.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodGetLineNumberFromPosition(Int32)

Gets the number of the line that contains the character at the specified position.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodGetMatchingSnapshot(ITextBuffer)

Gets the snapshot of the specified text buffer that corresponds to this snapshot.(Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodGetSourceSpans()

Gets all the source spans for the projection snapshot.(Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodGetSourceSpans(Int32, Int32)

Gets a read-only collection of source snapshot spans starting at the specified location of the span. (Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodGetText()

Gets all the text in the snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodGetText(Int32, Int32)

Gets text from the snapshot starting at startIndex and having a length equal to length.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodGetText(Span)

Gets text from the snapshot starting at the beginning of the span and having a length equal to the length of the span.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodMapFromSourceSnapshot(SnapshotPoint, PositionAffinity)

Maps from a snapshot point in one of the source snapshots to the corresponding position in the projection snapshot.(Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodMapFromSourceSnapshot(SnapshotSpan)

Maps a snapshot span of a source buffer to a list of spans of the projection snapshot. (Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodMapFromSourceSnapshotToNearest(SnapshotPoint)

Maps from a snapshot point in the source buffer to the corresponding point in the elision snapshot.

System_CAPS_pubmethodMapToSourceSnapshot(Int32)

Maps a position in the projection snapshot to the corresponding position in a source snapshot. (Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodMapToSourceSnapshot(Int32, PositionAffinity)

Maps a position in the projection snapshot to the corresponding position in a source snapshot.(Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodMapToSourceSnapshots(Int32)

Maps a position in the projection snapshot to the corresponding position in one or more source snapshots.(Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodMapToSourceSnapshots(Span)

Maps a span of the current projection snapshot to a list of snapshot spans belonging to source snapshots. The resulting spans will be ordered by the order of their appearance in the projection.(Inherited from IProjectionSnapshot.)

System_CAPS_pubmethodToCharArray(Int32, Int32)

Converts a range of text to a character array.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodWrite(TextWriter)

Writes the contents of the snapshot.(Inherited from ITextSnapshot.)

System_CAPS_pubmethodWrite(TextWriter, Span)

Writes a substring of the contents of the snapshot.(Inherited from ITextSnapshot.)

Return to top
Show: