Skip to content

Conversation

@jmthomas
Copy link
Collaborator

@jmthomas jmthomas commented Jan 9, 2026

Features from PR #94 cleaned up for current codebase:

  • Add charDiffs option (default: true) to highlight specific changed characters within lines, not just whole lines
  • Add gutter decorations to mark changed lines in the editor gutter
  • Add clear() API method to clear diffs without destroying editors
  • Add CSS classes diffChar and diffGutter for styling
  • Clean build script to remove .parcel-cache before building
  • Add guard checks in clearGutter/clearArrows for robustness
  • Remove dark theme import from main bundle (use separately)

closes #15
closes #56

Features from PR #94 cleaned up for current codebase:

- Add `charDiffs` option (default: true) to highlight specific changed
  characters within lines, not just whole lines
- Add gutter decorations to mark changed lines in the editor gutter
- Add `clear()` API method to clear diffs without destroying editors
- Add CSS classes `diffChar` and `diffGutter` for styling
- Clean build script to remove .parcel-cache before building
- Add guard checks in clearGutter/clearArrows for robustness
- Remove dark theme import from main bundle (use separately)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jmthomas jmthomas merged commit 060be9e into master Jan 9, 2026
2 checks passed
@jmthomas jmthomas deleted the text_diff branch January 9, 2026 23:03
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.

Word diffing Per line diff add / delete highlights

1 participant