Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

diff_cleanupSemantic cleans last newline incorrect #129

Open
Alisis33 opened this issue Oct 25, 2022 · 4 comments
Open

diff_cleanupSemantic cleans last newline incorrect #129

Alisis33 opened this issue Oct 25, 2022 · 4 comments

Comments

@Alisis33
Copy link

The cleaner methodes like diff_cleanupSemantic not correct the last newline like expected. Sometimes (by multiple line insert/delete) the result grabs a newline character from the line before, and cut his own of.
It would be better if complete lines are inserted/deleted.
I made my own cleaner to correct this and I can post it here, but it should be done in the diff_cleanup.

(tested only with the cs code)

@Alisis33
Copy link
Author

Screenshot_1

@Alisis33
Copy link
Author

How it is now

@Alisis33
Copy link
Author

Screenshot_2

@Alisis33
Copy link
Author

After correction

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant