4 "github.com/zyedidia/micro/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 and start column of the view (vertical/horizontal scroll)
12 // note that since the starting column of every line is different if the view
13 // is scrolled, StartCol is a visual index (will be the same for every line)
14 StartLine, StartCol int
17 type Window interface {
23 LocFromVisual(vloc buffer.Loc) buffer.Loc
29 type BWindow interface {
31 SetBuffer(b *buffer.Buffer)