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

Better handling of spaces when editing in diff mode #1429

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

worksofliam
Copy link
Contributor

Changes

If a space was added at the end of a line, any further additions to that line were no longer letting the gutter refresh.

Checklist

  • have tested my change
  • updated relevant documentation
  • Remove any/all console.logs I added
  • eslint is not complaining
  • have added myself to the contributors' list in CONTRIBUTING.md
  • for feature PRs: PR only includes one feature enhancement.

Copy link
Collaborator

@sebjulliand sebjulliand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected.
-> Date doesn't update on current master if line ends with one or more blanks
-> Date updates with the PR

Approved!

@sebjulliand sebjulliand merged commit d0f840d into master Jul 10, 2023
1 check passed
@sebjulliand sebjulliand deleted the fix/spaces_in_diff_mode branch July 10, 2023 15:06
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

Successfully merging this pull request may close these issues.

2 participants