Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      visit-file
      visual-diff
      visual-diff-mode
      wall-chart
      web-search
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
visual-diff  Command Reference   wall-chart


Epsilon User's Manual and Reference > Command Reference >

visual-diff-mode

Use color-coding to compare two buffers.

The visual-diff command creates a buffer in visual diff mode that shows the changes between one buffer and another. Added lines are shown with a yellow background, deleted lines are shown with a red background, and common lines are colored as in the original buffers.

In a visual-diff buffer, the keys Alt-<Down> and Alt-] move to the start of the next changed or common section. The keys Alt-<Up> and Alt-[ move to the previous one.

Press "a" or "b" to visit either of the two buffers being compared. Press "c" to visit both in a pair of windows, one below the other, or "s" to visit both in side-by-side windows. If both buffers being compared are associated with files, you can press Shift-A to copy file A to file B, or Shift-B to copy file B to file A. You will be prompted to confirm overwriting an existing file. Overwriting a newer file with an older one will mention that in the prompt.

More info:

Comparing Two Buffers



Previous   Up    Next
visual-diff  Command Reference   wall-chart


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.