Go to the first, previous, next, last section, table of contents.


Rendering

After each command is executed a full redisplay is done; the display of each window is made to be consistent with the contents of the buffer it is showing.

Function: refresh-all
This function calls the redisplay code, any windows, whose display is inconsistent with what it should be displaying, are updated.

Function: cursor on
Turns the cursor in the current window on or off (depending on whether on is non-nil or not). Normally the cursor is erased while Lisp programs are executing.

If you use this function be sure to leave the cursor undrawn when you've finished.

Function: centre-display &optional window
If possible, this function will arrange it so that the line which the cursor is on (see section The Cursor Position) will be in the centre of the display.

Function: next-screen &optional count
Move count (or 1 by default) screens forwards in the display, Lisp programs shouldn't need to call this.

Function: prev-screen &optional count
Move count screens backwards in the display. Don't call this from Lisp programs.

Function: flush-output
This function forces any locally-cached rendering operations to be drawn into the actual window. This should be called after any use of the refresh-all or cursor functions.

Currently this function only actually does anything in the X11 version of Jade (it calls XFlush()), but to ensure the portability of Lisp programs it should be used anyway.

Variable: max-scroll
This window-local variable defines the maximum number of lines which may be scrolled in one go; if more than this number of lines have to be moved when a redisplay happens the whole window will be redrawn.

Variable: y-scroll-step-ratio
This window-local variable controls the actual number of lines scrolled when the cursor moves out of the visible part of the window. The number of lines to move the display origin is calculated with the formula:

(/ total-lines-in-window y-scroll-step-ratio)

If the variable's value is zero then the window will be scrolled by the least number of lines necessary to get the cursor back into the visible part.

Variable: x-scroll-step-ratio
Similar to y-scroll-step-ratio, except that it's used when the cursor disappears to the left or the right of the display.


Go to the first, previous, next, last section, table of contents.