6 references to TextChangeToTextEdit
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Extensions\ProtocolConversions.cs (1)
290
uriToTextEdits.Add((oldDocument.GetURI(),
TextChangeToTextEdit
(textChange, oldText)));
Handler\CodeActions\CodeActionResolveHandler.cs (1)
201
var edits = textChanges.Select(tc => ProtocolConversions.
TextChangeToTextEdit
(tc, oldText)).ToArray();
Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
48
edits.AddRange(textChanges.Select(change => ProtocolConversions.
TextChangeToTextEdit
(change, text)));
Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
80
edits.AddRange(textChanges.Select(change => ProtocolConversions.
TextChangeToTextEdit
(change, documentSyntax.Text)));
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
45
edits.AddRange(textChanges.Select(change => ProtocolConversions.
TextChangeToTextEdit
(change, text)));
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
55
edits.AddRange(textChanges.Select(change => ProtocolConversions.
TextChangeToTextEdit
(change, text)));