Knowledge card L2 · Context engineering informational

Target Edits by Highlighting in Canvas

What it is

A Canvas technique: select the specific span you want changed and give ChatGPT an instruction on it, so edits land precisely instead of regenerating the whole document.

edit surgicallyHighlight the spanAsk for a change on itOnly that part updates
Highlight the exact span, then ask — the rest of the document stays put.

Why it works

In plain chat, any tweak re-emits the entire answer and can quietly alter parts you were happy with. Highlighting scopes the edit to a span, so the model changes that and leaves everything else untouched — you keep the good parts and iterate on the weak ones without collateral damage.

When to use it

Revising a specific paragraph, tightening one sentence, or fixing a single section of a long draft or code block that's mostly right.

When not to use it

Wholesale rewrites or structural overhauls where you actually want the whole thing reconsidered — then a full regeneration is the point.

Prompt

[In Canvas, with the target text highlighted] Rewrite just this selection to <specific change — shorter / more formal / fix the logic>. Leave the rest of the document exactly as is.

Example

Highlighting one clunky opening line and asking for three punchier alternatives changes only that line, leaving the rest of a polished essay intact.

Common mistakes

  • Asking for a global change when you only meant one paragraph, and losing edits you liked.
  • Not using highlighting, so every tweak risks the whole document.
  • Highlighting too much, which reintroduces the regenerate-everything problem.

Related