editDone finalizes any current editing, sends signal
()
| 215 | |
| 216 | // editDone finalizes any current editing, sends signal |
| 217 | func (tb *Buffer) editDone() { |
| 218 | tb.AutoSaveDelete() |
| 219 | tb.SetChanged(false) |
| 220 | tb.signalEditors(bufferDone, nil) |
| 221 | } |
| 222 | |
| 223 | // Text returns the current text as a []byte array, applying all current |
| 224 | // changes by calling editDone, which will generate a signal if there have been |
no test coverage detected