yi-0.6.2.4: The Haskell-Scriptable Editor

Yi.Window

Synopsis

Documentation

type WindowRef = IntSource

A window onto a buffer.

data Window Source

Constructors

Window 

Fields

isMini :: !Bool

regular or mini window?

bufkey :: !BufferRef

the buffer this window opens to

bufAccessList :: ![BufferRef]

list of last accessed buffers (former bufKeys). Last accessed one is first element

height :: Int

height of the window (in number of lines displayed)

winRegion :: Region

view area. note that the top point is also available as a buffer mark.

wkey :: !WindowRef

identifier for the window (for UI sync)

winkey :: Window -> (Bool, BufferRef)Source

Get the identification of a window.

dummyWindow :: BufferRef -> WindowSource

Return a fake window onto a buffer.