clearNotSaved sets Changed and NotSaved to false.
()
| 178 | |
| 179 | // clearNotSaved sets Changed and NotSaved to false. |
| 180 | func (tb *Buffer) clearNotSaved() { |
| 181 | tb.SetChanged(false) |
| 182 | tb.notSaved = false |
| 183 | } |
| 184 | |
| 185 | // Init initializes the buffer. Called automatically in SetText. |
| 186 | func (tb *Buffer) Init() { |
no test coverage detected