Set viewLines to nil on *View.Clear()

This commit is contained in:
Roi Martin 2016-11-14 21:56:17 +01:00
parent 1ad1e27a52
commit 78f1aee25c
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ func (v *View) Clear() {
v.tainted = true
v.lines = nil
v.viewLines = nil
v.readOffset = 0
v.clearRunes()
}