compare-windows(2)compare-windows - Compare buffer windows, ignore whitespace.
compare-windows-exact - Compare buffer windows, with whitespace.
n compare-windows
compare-windows-exact
compare-windows compares the textural content of ALL the current windows from their current cursor position. These commands are generally used to locate the next difference in the windows displayed. Returns TRUE if the buffers of the windows do not differ from the current position to the end of the file (inclusive), else returns FALSE setting the cursor of each buffer to the first point of difference.
The argument n can be used to change the default behavior of compare-windows, n is a bit based flag where:-
0x01
0x02
When omitted a case-sensitive compare which ignores white-space differences is performed.
compare-windows-exact is a macro short cut for 0 compare-windows, forcing an exact white-space & letter-case comparison.
A window can be excluded from compare-windows by setting bit 0x08 of its $window-flags(5) variable.
(c) Copyright JASSPA 2025
Last Modified: 2022/06/12
Generated On: 2025/09/29