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

Can't see deleted spaces in the Diff #160

Closed
edwardrowe opened this issue Apr 13, 2018 · 8 comments
Closed

Can't see deleted spaces in the Diff #160

edwardrowe opened this issue Apr 13, 2018 · 8 comments

Comments

@edwardrowe
Copy link
Contributor

It's hard to know when spaces are deleted because they aren't marked in the diff (can't color a space red).

To fix this, we'd need to do an improved diffing view that colored the background, similar to Sublime Text's find and replace (which looks awesome).

@Mukarillo
Copy link
Contributor

Hey @edwardrowe,

I am not so sure how you imagine this working, but I tried to replicate the Sublime Text's find and replace, here is it:

Example

The first file is called "_[]b[][][]a" and the second "a[][]b", being [] whitespaces

It is like this that you were imagining this feature?

@edwardrowe
Copy link
Contributor Author

edwardrowe commented Oct 13, 2019 via email

@Mukarillo
Copy link
Contributor

I am sorry, but I can't see the attachment.
Do you mind uploading the image somewhere else and posting the link here?

@edwardrowe
Copy link
Contributor Author

edwardrowe commented Oct 14, 2019

Does this work? I did that via email, must not have liked it.

I'm removing "space" characters as well as 'm', 'a', and 'c', just for comparison.

mulligan-spaces-diff-mockup

@Mukarillo
Copy link
Contributor

Oh, now I see, thanks!
I think I can replicate this with a bit of creativity. Let me try something.

@Mukarillo
Copy link
Contributor

Hey @edwardrowe,

I think I got it working the way you imagined it

Example

Was that how you thought it would work?

@edwardrowe
Copy link
Contributor Author

edwardrowe commented Oct 14, 2019 via email

@Mukarillo
Copy link
Contributor

No problem at all @edwardrowe, take your time.
I am glad that I am adding value to this project :)

@edwardrowe edwardrowe added the fixed in development The issue is fixed in the development branch label Jan 6, 2020
@edwardrowe edwardrowe removed the fixed in development The issue is fixed in the development branch label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants