func new_view(v *backend.View) { log4go.Debug("new_view entered") defer log4go.Debug("new_view exited") qw := wnds[v.Window()] w := newQLimeView(v) v.Settings().Set("syntax", "../../3rdparty/bundles/GoSublime/GoSublime.tmLanguage") w.SetSizev(600, 400) // w := qt5.NewWidget() sa := qt5.NewScrollArea() sa.SetWidget(w) qw.tw.AddTab(sa, v.Buffer().Name(), nil) }