[previous] [up] [next]     [index]
Next: grab-caret Up: editor-admin Previous: get-max-view

get-view

Gets the the visible region of the editor within its display (in editor coordinates), or the overall size of the viewing region in the editor's top-level display (for an embedded editor).

If the display is an editor canvas, see also reflow-container. The viewing area within an editor canvas is not the full client area of the canvas, because an editor canvas installs a whitespace border around a displayed editor within the client area.

The calculation of the editor's visible region is based on the current size and scrollbar values of the top-level display. For an editor canvas display, the region reported by get-view does not depend on whether the canvas is hidden, obscured by other windows, or moved off the edge of the screen.


[previous] [up] [next]     [index]
Next: grab-caret Up: editor-admin Previous: get-max-view

PLT