8 references to TextDocumentContentChangeEvent
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Extensions\ProtocolConversions.cs (1)
340
public static TextChange ContentChangeEventToTextChange(LSP.
TextDocumentContentChangeEvent
changeEvent, SourceText text)
Handler\DocumentChanges\DidChangeHandler.cs (5)
40
internal static bool AreChangesInReverseOrder(
TextDocumentContentChangeEvent
[] contentChanges)
44
var
prevChange = contentChanges[i - 1];
45
var
curChange = contentChanges[i];
56
private static SourceText GetUpdatedSourceText(
TextDocumentContentChangeEvent
[] contentChanges, SourceText text)
76
foreach (
var
change in contentChanges)
Protocol\DidChangeTextDocumentParams.cs (1)
48
public
TextDocumentContentChangeEvent
[] ContentChanges
Protocol\Notebook\NotebookDocumentChangeCellsText.cs (1)
30
public
TextDocumentContentChangeEvent
[] Changes { get; init; }