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