tokensFor method
Tokens for a line of the diff: removed lines from the old file, added and context lines from the new one.
Implementation
List<ThemedToken> tokensFor(DiffLine line) =>
line.kind == DiffLineKind.removed
? _line(_oldDocument, _oldPlain, _old, line.oldNumber)
: _line(_newDocument, _newPlain, _new, line.newNumber);