MCPcopy Create free account
hub / github.com/cogentcore/core / addEditor

Method addEditor

texteditor/buffer.go:639–641  ·  view source on GitHub ↗

Editors addEditor adds a editor of this buffer, connecting our signals to the editor

(vw *Editor)

Source from the content-addressed store, hash-verified

637
638// addEditor adds a editor of this buffer, connecting our signals to the editor
639func (tb *Buffer) addEditor(vw *Editor) {
640 tb.editors = append(tb.editors, vw)
641}
642
643// deleteEditor removes given editor from our buffer
644func (tb *Buffer) deleteEditor(vw *Editor) {

Callers 1

SetBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected