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

Mode: "words" should use multiple delimiters #6

Open
Blenderpics opened this issue Nov 13, 2023 · 0 comments
Open

Mode: "words" should use multiple delimiters #6

Blenderpics opened this issue Nov 13, 2023 · 0 comments

Comments

@Blenderpics
Copy link

Blenderpics commented Nov 13, 2023

Hey there!

When using the library with compare: 'words', only spaces are used as the delimiter.
In reality new lines should also be considered a delimiter (and probably also tabs and a few more chars).
As of right now you will get quite weird diffs, if the word affected is at the start or end of a line, since the word in the next/previous line is considered to be part of the diff.

Otherwise: quite a nice little library 👍

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

1 participant