Skip to content

Feature request: show what changed (word diff) in the response window #284

Open

Description

@Lorite

Problem. After Proofread or Rewrite, it is hard to see which words the model changed. With longer paragraphs I have to compare the two texts by eye.

Proposal. A "Changes | Result" switch on the first response in the response window:

  • Changes shows a word-level diff: removed words in red with strikethrough, added words in green. Changes that are only separated by spaces are merged, so a rephrased phrase shows as one removed block and one added block.
  • Result shows the clean text, as today.
  • Proofread opens on Changes (small edits). Full rewrites (Rewrite, Friendly, Professional, Concise, custom instructions) open on Result, because their diff is mostly red and green. Summary, Key Points and Table have no switch.
  • Copy as Markdown always copies the clean result.

This is close to how Apple Writing Tools handles Proofread on macOS 15: changes are underlined, and one button switches between the updated and the original version.

Implementation. I have a working version for Windows_and_Linux: a new ui/TextDiff.py (about 60 lines, Python's difflib, no new dependency) and about 70 lines in ui/ResponseWindow.py. It only uses selected_text, which the response window already has. Screenshots below (Changes view, then Result view). I can open a PR if you are interested.

Image Image

Activity

  1. nmatton commented on Oct 21, 2026

    @nmatton

    looks very nice !

  2. added a commit that references this issue on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions