45 references to GetTextChanges
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
79var textChanges = Text.GetTextChanges(oldDocument.Text);
Microsoft.CodeAnalysis.EditorFeatures (2)
Editor\TextEditApplication.cs (1)
19var changes = newText.GetTextChanges(oldText);
Interactive\InteractiveWorkspace.cs (1)
48var changes = newText.GetTextChanges(oldText);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\EditorTestHostDocument.cs (1)
220var changes = newText.GetTextChanges(oldText);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
MapCode\MapCodeTests.cs (1)
39return newText.GetTextChanges(text).ToImmutableArray();
Microsoft.CodeAnalysis.UnitTests (34)
Text\TextChangeTests.cs (34)
243var result = newText.GetTextChanges(text).ToList(); 661var changes = change2.GetTextChanges(original); 675var changes = change2.GetTextChanges(original); 689var changes = change2.GetTextChanges(original); 703var changes = change2.GetTextChanges(original); 717var changes = change2.GetTextChanges(original); 731var changes = change2.GetTextChanges(original); 745var changes = change2.GetTextChanges(original); 758var changes = change2.GetTextChanges(original); 771var changes = change2.GetTextChanges(original); 784var changes = change2.GetTextChanges(original); 797var changes = change2.GetTextChanges(original); 810var changes = change2.GetTextChanges(original); 824var changes = change2.GetTextChanges(original); 838var changes = change2.GetTextChanges(original); 851var changes = change2.GetTextChanges(original); 865var changes = change2.GetTextChanges(original); 881var changes = change2.GetTextChanges(original); 898var changes = change2.GetTextChanges(original); 916var changes = final.GetTextChanges(original); 1011var textChanges = change2.GetTextChanges(originalText); 1052var changes = change2.GetTextChanges(originalText); 1064var changes = change2.GetTextChanges(original); 1080var changes = change2.GetTextChanges(originalText); 1093var changes = change2.GetTextChanges(originalText); 1107var changes = change2.GetTextChanges(originalText); 1121var changes = change2.GetTextChanges(originalText); 1135var changes = change2.GetTextChanges(originalText); 1149var changes = change2.GetTextChanges(originalText); 1163var changes = change2.GetTextChanges(originalText); 1177var changes = change2.GetTextChanges(originalText); 1191var changes = change2.GetTextChanges(originalText); 1205var changes = change2.GetTextChanges(originalText); 1246var changes = changedText2.GetTextChanges(text);
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
79var textChanges = Text.GetTextChanges(oldDocument.Text);
Workspace\Solution\Document.cs (2)
464var textChanges = text.GetTextChanges(oldText).ToImmutableArray(); 488return text.GetTextChanges(oldText).ToImmutableArray();
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
211ApplyChanges(originalText, newText.GetTextChanges(originalText));
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\RemoteLanguageServiceWorkspace.cs (1)
510var changes = text.GetTextChanges(oldText);
Roslyn.VisualStudio.Next.UnitTests (1)
Services\ServiceHubServicesTests.cs (1)
98(service, cancellationToken) => service.SynchronizeTextChangesAsync([(oldDocument.Id, oldState.Text, newText.GetTextChanges(oldText).AsImmutable(), newState.Text)], cancellationToken),