yi-0.6.2.3: The Haskell-Scriptable EditorSource codeContentsIndex
Yi.Window
Synopsis
type WindowRef = Int
data Window = Window {
isMini :: !Bool
bufkey :: !BufferRef
bufAccessList :: ![BufferRef]
height :: Int
winRegion :: Region
wkey :: !WindowRef
}
winkey :: Window -> (Bool, BufferRef)
dummyWindowKey :: Int
dummyWindow :: BufferRef -> Window
Documentation
type WindowRef = IntSource
A window onto a buffer.
data Window Source
Constructors
Window
isMini :: !Boolregular or mini window?
bufkey :: !BufferRefthe buffer this window opens to
bufAccessList :: ![BufferRef]list of last accessed buffers (former bufKeys). Last accessed one is first element
height :: Intheight of the window (in number of lines displayed)
winRegion :: Regionview area. note that the top point is also available as a buffer mark.
wkey :: !WindowRefidentifier for the window (for UI sync)
show/hide Instances
winkey :: Window -> (Bool, BufferRef)Source
Get the identification of a window.
dummyWindowKey :: IntSource
dummyWindow :: BufferRef -> WindowSource
Return a fake window onto a buffer.
Produced by Haddock version 2.6.1