yi-0.6.6.0: The Haskell-Scriptable Editor
data Window Source
A window onto a buffer.
regular or mini window?
the buffer this window opens to
list of last accessed buffers (former bufKeys). Last accessed one is first element
height of the window (in number of screen lines displayed)
note that the top point is also available as a buffer mark.
identifier for the window (for UI sync)
This is required for accurate scrolling.
Scrolling depends on the actual number of buffer
lines displayed. Line wrapping changes that number
relative to the height so we can't use height for that
The actual number of buffer lines displayed. Taking into account line wrapping
winkey :: Window -> (Bool, BufferRef)Source
Get the identification of a window.
dummyWindow :: BufferRef -> WindowSource
Return a fake window onto a buffer.
Produced by Haddock version 2.10.0