mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
Split improvements
This commit is contained in:
@@ -31,6 +31,7 @@ func NewBufEditPane(x, y, width, height int, b *buffer.Buffer) *EditPane {
|
||||
func NewTabPane(width, height int, b *buffer.Buffer) *TabPane {
|
||||
t := new(TabPane)
|
||||
t.Node = views.NewRoot(0, 0, width, height)
|
||||
t.Window = display.NewUIWindow(t.Node)
|
||||
|
||||
e := NewBufEditPane(0, 0, width, height, b)
|
||||
e.splitID = t.ID()
|
||||
|
||||
Reference in New Issue
Block a user