Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lists with addedLines and deletedLines in ContentChanges #1789

Closed
Stijn-Rutten opened this issue Apr 30, 2020 · 1 comment
Closed

Lists with addedLines and deletedLines in ContentChanges #1789

Stijn-Rutten opened this issue Apr 30, 2020 · 1 comment

Comments

@Stijn-Rutten
Copy link
Contributor

I would like to have the possibility to have IEnumerables of deletedLines and addedLines in ContentChanges these would contain an instance of the following struct for each line containing the line number and the added or deleted content on that line.

struct Line {
    public int LineNumber { get; }
    public string Content { get; }
}

This modification would make it easier to navigate through the compare different states of files. Instead of having to parse the patch

@bording
Copy link
Member

bording commented Apr 10, 2023

Implemented in #1790

@bording bording closed this as completed Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants