Returns the current position in the current window. When you are
at the beginning of the buffer current\_
position returns 0.
Returns the end of file position, thus the number of characters in the
buffer. For an empty file end\_
of\_
file returns 0.
Returns 1 if you are at the end of the current buffer, else returns 0. Its definition is equivalent to:
Returns the current line number. Lines are terminated by a newline character. Here is an example of this function use:
Returns the position of the beginning of the current line, therefore the current position at the beginning of the buffer or when the previous character is a newline.
Returns the position of the end of the current line, therefore the
current position if the current character is newline, else the
position of the next newline if it exists, else the end of file
position (See also mark\_
position() §7.3.7 page ).