Create a cutting-edge text comparison tool similar to "WinMerge." The tool should have a…
- User
Create a cutting-edge text comparison tool similar to "WinMerge." The tool should have a sleek, modern UI, with a two-pane layout. On the left side, users will input one block of text, and on the right side, another block of text. The tool should analyze and highlight differences in real-time, visually emphasizing insertions, deletions, and modifications with intuitive color-coding (e.g., green for added text, red for deletions, and yellow for changes).
Ensure the comparison is lightning-fast, scalable, and accurate, even with large text blocks. Integrate an advanced JS library of your choice for smooth and efficient text diffing and consider enhancements like line-by-line comparison, character-level precision, and an interactive UI for seamless navigation through differences. The layout should be fully responsive, with a clean, minimalist design that maximizes readability and usability.
Implement this in HTML, CSS, and JavaScript, keeping all code within a single file. Prioritize performance and modern design aesthetics. Make it feel like a next-gen tool that goes beyond basic text comparison.
- Assistant