10 references to TextDifferenceTypes
Microsoft.CodeAnalysis.EditorFeatures (6)
TextDiffing\EditorTextDifferencingService.cs (6)
33
=> GetTextChangesAsync(oldDocument, newDocument,
TextDifferenceTypes
.Word, cancellationToken);
35
public async Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument,
TextDifferenceTypes
preferredDifferenceType, CancellationToken cancellationToken)
59
private static StringDifferenceOptions GetDifferenceOptions(
TextDifferenceTypes
differenceTypes)
63
if (differenceTypes.HasFlag(
TextDifferenceTypes
.Line))
68
if (differenceTypes.HasFlag(
TextDifferenceTypes
.Word))
73
if (differenceTypes.HasFlag(
TextDifferenceTypes
.Character))
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
235
document, newDocument,
TextDifferenceTypes
.Line, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (3)
LinkedFileDiffMerging\DefaultDocumentTextDifferencingService.cs (2)
26
=> GetTextChangesAsync(oldDocument, newDocument,
TextDifferenceTypes
.Word, cancellationToken);
28
public async Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument,
TextDifferenceTypes
preferredDifferenceType, CancellationToken cancellationToken)
Workspace\Solution\IDocumentTextDifferencingService.cs (1)
34
Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument,
TextDifferenceTypes
preferredDifferenceType, CancellationToken cancellationToken);