diff --git a/prototype/doubt-difftool/Unified.swift b/prototype/doubt-difftool/Unified.swift index 759ecb585..2575fef97 100644 --- a/prototype/doubt-difftool/Unified.swift +++ b/prototype/doubt-difftool/Unified.swift @@ -4,7 +4,7 @@ func unified(patch: Patch, source: String) -> String { } private func range(patch: Patch) -> Range? { - return nil + return patch.state.after?.extract.range } func unified(diff: Diff, before: String, after: String) -> String {