Skip to content

Comments

support text diffs and different color in 2 side#94

Closed
smallst wants to merge 21 commits intoace-diff:masterfrom
smallst:master
Closed

support text diffs and different color in 2 side#94
smallst wants to merge 21 commits intoace-diff:masterfrom
smallst:master

Conversation

@smallst
Copy link

@smallst smallst commented Jan 17, 2022

add an option : showDiffs (default to true)
some previews:
image
image

@simonMoisselin
Copy link

let's merge this!

@claverie-catalyte
Copy link

This would be a great addition to the library if we can get it in 👍

jmthomas added a commit that referenced this pull request 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)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jmthomas jmthomas closed this Jan 9, 2026
@jmthomas
Copy link
Collaborator

jmthomas commented Jan 9, 2026

Closing in favor of #134

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.

4 participants