4 "github.com/zyedidia/micro/cmd/micro/buffer"
5 "github.com/zyedidia/micro/cmd/micro/display"
6 "github.com/zyedidia/micro/cmd/micro/info"
17 type EditPane struct {
22 type InfoPane struct {
28 func NewBufEditPane(x, y, width, height int, b *buffer.Buffer) *EditPane {
30 // TODO: can probably replace editpane with bufhandler entirely
31 w := display.NewBufWindow(x, y, width, height, b)
33 e.BufHandler = NewBufHandler(b, w)
38 func NewInfoBar() *InfoPane {
40 ib := info.NewBuffer()
41 w := display.NewInfoWindow(ib)
43 e.InfoHandler = NewInfoHandler(ib, w)