Skip to content

Syntax highlighting in unified view does not show old text of line #3

@JahidHasanCO

Description

@JahidHasanCO

Describe the bug
When using the unified view for text comparison, the syntax highlighting feature does not display the old text of a changed line. Only the new text appears with syntax highlighting, making it difficult to understand what was changed.

To Reproduce

  1. Open Diffly and compare two texts with differences in a single line (e.g., changing a word or a character).
  2. Switch to the unified view.
  3. Observe the syntax highlighting of the changed line.

Expected behavior
Both the old and new texts of the changed line should be visible in the unified view, each with proper syntax highlighting so users can clearly identify the differences.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions