$window-col - Window cursor column (no expansion)
$window-line - Window cursor line
$window-line - Window cursor absolute line
$window-wcol - Window cursor column (expansion)
$window-wline - Window cursor line (window position)
$window-col integer
0 <= integer <= 65535
$window-line integer
1 <= integer <= n
$window-wcol integer
0 <= integer <= n
$window-wline integer
0 <= integer <= $window-depth - 1
$window-col is defined as the current position of the cursor in the current line in the current window. Column zero is the left hand edge. This differs from $window-wcol in that tab and special characters only count for 1 character. $window-col is valid in the range 0 - n.
$window-line is defined as the current buffer line number the cursor is on in the current window. Line numbering starts from 1. $window-line is valid in the range 1 - n.
$window-aline is identical to $window-line except when the current buffer contains narrowed out sections before the current line. In this case $window-line will be set to the line number without counting the number of lines in the narrow, whereas $window-aline will return the current line number including all lines narrowed out before it. When this variable is set, the line required may lie in a narrowed out section in which case the narrow is automatically removed. See narrow-buffer(2) for more information on narrowing.
$window-wcol is defined as the current column of the cursor in the current window. Column zero is the left hand edge. This differs from $window-col in that tab and special characters may not count for 1 character.
$window-wline is defined as the current cursor line number in the current window. $window-wline is valid in the range 0 - ( $screen-depth - 3 )
(c) Copyright JASSPA 1999
Last Modified: 1999/01/27
Generated On: 1999/12/01