Skip to content

tinker-text-diff ​

A text comparison tool for TINKER, providing side-by-side editing and diff viewing with syntax highlighting.

Screenshot

Features ​

  • Edit mode — enter original and modified text in a side-by-side dual editor
  • Diff mode — view a highlighted diff showing additions and deletions between the two texts
  • Syntax highlighting — select a programming language for syntax-aware highlighting in both editors
  • Language auto-detection — automatically detects the language when opening files
  • Open files — load text from files into either the original or modified editor
  • Swap texts — swap the original and modified texts with one click
  • Clipboard support — paste text from clipboard into either editor, or copy content to clipboard
  • Undo/redo — full undo and redo support in the editors
  • Diff statistics — view the number of additions and deletions in diff mode
  • State persistence — text content, view mode, and language selection are automatically saved and restored

Usage ​

  1. Switch to Edit Mode and enter or paste text into the Original and Modified panels
  2. Optionally click Open file to load text from a file
  3. Select a programming language from the language selector for syntax highlighting
  4. Switch to Diff Mode to see a highlighted comparison of the two texts
  5. Use the Swap button to swap original and modified texts
  6. Click Clear to reset both editors

Released under the AGPL-3.0 License.