Contents

view

The currently focused view. It also represents the structure of any view table in _G._VIEWS.


Fields


size (number)

The position of the split resizer (if this view is part of a split view).


Functions


view:goto_buffer (n, relative)

Goes to the specified buffer in the indexed view. Generates BUFFER_BEFORE_SWITCH and BUFFER_AFTER_SWITCH events.

Parameters:


view:split (vertical)

Splits the indexed view vertically or horizontally and focuses the new view.

Parameters:

Return:


view:unsplit ()

Unsplits the indexed view if possible.

Return:


Tables


buffer

The buffer this view contains. (Read-only)