Microsoft.VisualStudio.Text.Differencing Namespace

 

 

ClassDescription
System_CAPS_pubclassDifference

Represents a single difference in the set of differences of two lists of elements.

System_CAPS_pubclassDifferenceBufferOption<T>

A base class that can be used for options that are specific to an IDifferenceBuffer.

System_CAPS_pubclassDifferenceBufferOptions

A set of options for the difference buffer.

System_CAPS_pubclassDifferenceViewerOption<T>

A base class that can be used for options that are specific to an IDifferenceViewer.

System_CAPS_pubclassDifferenceViewerOptions

A set of options about the difference viewer display.

System_CAPS_pubclassDifferenceViewerRoles

The text view roles associated with an IDifferenceViewer.

System_CAPS_pubclassMatch

Represents a range of matches between two sequences as a pair of spans of equal length.

System_CAPS_pubclassSnapshotDifferenceChangeEventArgs

Used in conjunction with the SnapshotDifferenceChanging and SnapshotDifferenceChanged events.

StructureDescription
System_CAPS_pubstructureStringDifferenceOptions

Options to use in calculating string differences.

InterfaceDescription
System_CAPS_pubinterfaceIDifferenceBuffer

A difference buffer constantly computes the differences between two ITextBuffer objects, providing an IProjectionBuffer, InlineBuffer, that contains the differences between the two ITextBuffer objects in an inline difference.

System_CAPS_pubinterfaceIDifferenceBufferFactoryService

A factory for creating IDifferenceBuffer instances.

System_CAPS_pubinterfaceIDifferenceCollection<T>

Represents a collection of Difference objects.

System_CAPS_pubinterfaceIDifferenceService

Determines the differences between two sequences, based on adding or removing elements (but not translating or copying elements).

System_CAPS_pubinterfaceIDifferenceTextViewModel

Represents a set of zero or more ITextBuffer objects that are unique to the presentation of text in a particular ITextView.

System_CAPS_pubinterfaceIDifferenceTrackingSpanCollection

Tracking spans for an ISnapshotDifference for the various line and word differences.

System_CAPS_pubinterfaceIDifferenceViewer

A difference viewer is a container for viewing an IDifferenceBuffer in an inline or side-by-side mode. It keeps the scroll state of the different views in sync, and provides helpers for scrolling to differences and matches in all views.

System_CAPS_pubinterfaceIHierarchicalDifferenceCollection

Represents a difference collection in which the left and right sequences are ITokenizedStringList objects, and each difference may itself contain an IHierarchicalDifferenceCollection.

System_CAPS_pubinterfaceIHierarchicalStringDifferenceService

Obsolete.This service has several shortcut methods that compute differences over strings, snapshots, and spans.

System_CAPS_pubinterfaceISnapshotDifference

A set of differences between two ITextSnapshot objects. These are created by an IDifferenceBuffer, and are valid to a specific set of snapshots for the LeftBuffer, the RightBuffer, and the StringDifferenceOptions and collections of SnapshotLineTransform and IgnoreDifferencePredicate in place at that time.

System_CAPS_pubinterfaceITextDifferencingSelectorService

Used to retrieve an ITextDifferencingService for a given content type. These services may be provided by extenders and may return differences that more closely match the semantics of the given content type, instead of simple textual differencing.

System_CAPS_pubinterfaceITextDifferencingService

This service has methods that compute differences over strings, snapshots, and spans. Differences are computed according to the specified StringDifferenceTypes, starting with the most general type (line is more general than word, and word is more general than character). This service is meant to be provided by extenders to override diff behavior by content type, thus allowing more control over the differences produced and how they align semantically (based upon the given language/content type).

System_CAPS_pubinterfaceITokenizedStringList

A tokenized representation of a string into abutting and non-overlapping segments.

System_CAPS_pubinterfaceIWpfDifferenceViewer

A WPF-specific version of an < IDifferenceViewer, which provides access to the VisualElementused to host the viewer and the various text view hosts as IWpfTextViewHost.

System_CAPS_pubinterfaceIWpfDifferenceViewerFactoryService

A service for creating IWpfDifferenceViewer objects.

DelegateDescription
System_CAPS_pubdelegateContinueProcessingPredicate<T>

A predicate used by IDifferenceService to allow callers to stop differencing prematurely.

System_CAPS_pubdelegateCreateTextViewHostCallback
System_CAPS_pubdelegateDetermineLocalityCallback

Obsolete.Determining the locality for a given difference type and left/right strings.

System_CAPS_pubdelegateIgnoreDifferencePredicate

Add a predicate to selectively ignore differences.

Predicate: A predicate to be called for every computed line difference.

System_CAPS_pubdelegateSnapshotLineTransform

A custom transform for text snapshot lines, to allow clients of IDifferenceBuffer to modify lines before performing any comparison.

line: The original snapshot line that this transform is being asked to operate on.</

currentText: The current text of the line, which may differ from GetText" if an earlier transform has already processed the line.

Returns the new line text to use for the line.

EnumerationDescription
System_CAPS_pubenumDifferenceHighlightMode

The highlight mode for this < IDifferenceViewer.

System_CAPS_pubenumDifferenceHighlightMode2

System_CAPS_pubenumDifferenceMappingMode

The mapping modes that can be used when mapping points inside a difference between the left and right snapshots.

System_CAPS_pubenumDifferenceType

The types of differences.

System_CAPS_pubenumDifferenceViewMode

The view mode for an IDifferenceViewer.

System_CAPS_pubenumDifferenceViewType

The view type for a view created by an IDifferenceViewer.

System_CAPS_pubenumIgnoreWhiteSpaceBehavior

Determines how to treat whitespace.

System_CAPS_pubenumLineType

The line type, as used in methods on IDifferenceBuffer.

System_CAPS_pubenumStringDifferenceTypes

A bitwise combination of the enumeration values to use when computing differences with the various methods in IHierarchicalStringDifferenceService.

System_CAPS_pubenumWordSplitBehavior

Behavior to use while splitting words in string differencing.

Return to top
Show: