setScriptDiffSource abstract method

Future<HighlightResult> setScriptDiffSource(
  1. String scriptId,
  2. String source
)

Set the diff source for a module with scriptId. We store the diff source on the Script so subsequent calls to setScriptSource can return line level diffs with stored source when requesting highlighting data.

Important: setScriptSource must be called first to create the script before calling this method. The script must exist in the workspace before a diff source can be set for it.

Implementation

Future<HighlightResult> setScriptDiffSource(String scriptId, String source);