emacs_ediff_regions
Compare two text regions and get a diff in unified, context, side-by-side, or summary format. Choose labels and context lines to highlight exactly what changed.
Instructions
Compare two text regions and return the diff
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default: unified) | |
| text_a | Yes | First text to compare | |
| text_b | Yes | Second text to compare | |
| label_a | No | Label for the first text (optional) | |
| label_b | No | Label for the second text (optional) | |
| context_lines | No | Number of context lines (default: 3) |