Creates diffs of two strings (before and after) corresponding to Modelica files. The diff is specialized to handle the list API moving comments around in the file and introducing or deleting whitespace.

The output can be chosen to be a colored diff (for terminals), XML, or the final text (deletions removed).


function diffModelicaFileListings
  input String before, after;
  input DiffFormat diffFormat = DiffFormat.color;
  output String result;
end diffModelicaFileListings;


Revision Author Comment
1.9.3-dev sjoelund.se Introduced the API.

Generated at 2021-01-21T02:00:13Z by OpenModelicaOpenModelica 1.17.0~dev-347-g03da1b5 using GenerateDoc.mos