4 "github.com/zyedidia/micro/v2/internal/buffer"
8 X, Y int // X,Y location of the view
9 Width, Height int // Width and height of the view
11 // Start line of the view (for vertical scroll)
14 // Start column of the view (for horizontal scroll)
15 // note that since the starting column of every line is different if the view
16 // is scrolled, StartCol is a visual index (will be the same for every line)
20 type Window interface {
26 LocFromVisual(vloc buffer.Loc) buffer.Loc
32 type BWindow interface {
35 SetBuffer(b *buffer.Buffer)