anchor.diff:  begin
     Inc(FVersion);
     if not TJedi.Ready or (FFileId = '') or (FLangId <> lidPython) or
  -    not fTransmitChanges
  +    not FTransmitChanges or (FIncChanges.Count = 0)
     then
       Exit;
   
  
positive.code:     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;
        FIncChanges.Add(Change);
      end;
      Params.AddPair('contentChanges', FIncChanges as TJsonValue);
  
negative.code:   BB, BE: TBufferCoord;
  begin
    if not TJedi.Ready or (FFileId = '') or (FlangId <> lidPython) or
      not FTransmitChanges or
      not (lspscIncrementalSync in TJedi.LspClient.ServerCapabilities)
    then
      Exit;
  
    BB := BufferCoord(1, FirstLine + 1);
    BE := BB;
    var TextAdded := '';
    for var I := FirstLine to FirstLine + Count - 1 do
      TextAdded := TextAdded + Editor.Lines[I]  + SLineBreak;
    Change := TJsonObject.Create;
    Change.AddPair('range', LspRange(BB, BE));
    Change.AddPair('text', TJsonString.Create(TextAdded));
    fIncChanges.Add(Change);
  end;
  
  