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