anchor.diff:      begin
         FIncChanges.Clear;
         var Change := TJsonObject.Create;
  -//      var OldTrailingLineBreak := Editor.Lines.TrailingLineBreak;
  -//      Editor.Lines.TrailingLineBreak := True;
  -//      try
  -        Change.AddPair('text', TJsonString.Create(Editor.Text));
  -//      finally
  -//        Editor.Lines.TrailingLineBreak := OldTrailingLineBreak;
  -//      end;
  +      Change.AddPair('text', TJsonString.Create(Editor.Text));
         FIncChanges.Add(Change);
       end;
       Params.AddPair('contentChanges', FIncChanges as TJsonValue);
  
positive.code:   BB := BufferCoord(NSameCharStart + 1, aIndex + 1);
    BE := BufferCoord(OldL - NSameCharEnd + 1, aIndex + 1);
  
    NewLine := Copy(NewLine, NSameCharStart + 1, NewL - NSameCharStart - NSameCharEnd);
  
    Change := TJsonObject.Create;
    Change.AddPair('range', LspRange(BB, BE));
    Change.AddPair('text', TJsonString.Create(NewLine));
    fIncChanges.Add(Change);
  end;
  
  
negative.code: var
    Change: TJsonObject;
    BB, BE: TBufferCoord;
    NewLine, Diff: string;
    OldL, NewL: Integer;
  begin
    if not TJedi.Ready or (FFileId = '') or (FLangId <> lidPython) or
      not FTransmitChanges or
      not (lspscIncrementalSync in TJedi.LspClient.ServerCapabilities)
    then
      Exit;
  