use LinesHeight instead of ViewLinesHeight

This commit is contained in:
Jesse Duffield 2018-09-21 16:56:32 +10:00
parent 4fca348422
commit 03e26ff3f1

View File

@ -447,8 +447,8 @@ func (v *View) ViewBufferLines() []string {
return lines
}
func (v *View) ViewLinesHeight() int {
return len(v.viewLines)
func (v *View) LinesHeight() int {
return len(v.lines)
}
// ViewBuffer returns a string with the contents of the view's buffer that is