12 references to TextDifferenceTypes
Microsoft.CodeAnalysis.EditorFeatures (6)
TextDiffing\EditorTextDifferencingService.cs (6)
28
=> GetTextChangesAsync(oldDocument, newDocument,
TextDifferenceTypes
.Word, cancellationToken);
30
public async Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument,
TextDifferenceTypes
preferredDifferenceType, CancellationToken cancellationToken)
48
private static StringDifferenceOptions GetDifferenceOptions(
TextDifferenceTypes
differenceTypes)
52
if (differenceTypes.HasFlag(
TextDifferenceTypes
.Line))
57
if (differenceTypes.HasFlag(
TextDifferenceTypes
.Word))
62
if (differenceTypes.HasFlag(
TextDifferenceTypes
.Character))
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
221
document, newDocument,
TextDifferenceTypes
.Line, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (5)
LinkedFileDiffMerging\DefaultDocumentTextDifferencingService.cs (2)
25
=> GetTextChangesAsync(oldDocument, newDocument,
TextDifferenceTypes
.Word, cancellationToken);
27
public async Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument,
TextDifferenceTypes
preferredDifferenceType, CancellationToken cancellationToken)
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (2)
106
firstOldDocument, firstNewDocument,
TextDifferenceTypes
.Line, cancellationToken).ConfigureAwait(false);
149
oldDocument, newDocument,
TextDifferenceTypes
.Line, cancellationToken).ConfigureAwait(false);
Workspace\Solution\IDocumentTextDifferencingService.cs (1)
32
Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument,
TextDifferenceTypes
preferredDifferenceType, CancellationToken cancellationToken);