call this in the event of a view resize, or if you want to render new content without the chance of old content still appearing, or if you want to remove a line from the existing content
()
| 201 | // without the chance of old content still appearing, or if you want to remove |
| 202 | // a line from the existing content |
| 203 | func (v *View) clearViewLines() { |
| 204 | v.tainted = true |
| 205 | v.viewLines = nil |
| 206 | v.clearHover() |
| 207 | } |
| 208 | |
| 209 | type searcher struct { |
| 210 | searchString string |
no test coverage detected