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

New & improved string diff viewer #994

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

boatbomber
Copy link
Member

@boatbomber boatbomber commented Nov 16, 2024

Closes #968.

New Features:

  • Diffs now highlight the specific characters that changed, not just the entire line
  • Removed/Added lines create spacer lines on the other side, keeping both sides aligned
  • Scrolling position of both sides is linked, making it easy to scroll
  • Added line numbers on the side
  • The scroll bar has red/green markers to help you quickly navigate to diff areas
  • The diff viewer will open up already scrolled down to the first diffed line to save you the time

Fixes/Improvements:

  • Long scripts no longer glitch out the text rendering
  • Rendered as a virtualized list, so long scripts won't be creating a million text labels now

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.

The plugin's diff view sometimes displays incorrectly
1 participant