prepareDiffSyntax
prepareDiffSyntax(
file,options?):Promise<readonlyPreparedDiffSyntaxSource[]>
Parses a diff’s sources ahead of the view that will show them, so setFile(file, rows, prepared)
paints coloured on its first frame. The caller owns the result; an aborted preparation resolves
empty.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<readonly PreparedDiffSyntaxSource[]>