Fix small bug

This commit is contained in:
Zachary Yedidia 2017-03-21 15:46:06 -04:00
parent 54bb99d758
commit d55e7319da

View file

@ -66,9 +66,9 @@ func (c *CellView) Draw(buf *Buffer, top, height, left, width int) {
}
buf.highlighter.ReHighlightStates(buf, start)
}
buf.highlighter.HighlightMatches(buf, top, top+height)
buf.highlighter.HighlightMatches(buf, top, top+height)
}
c.lines = make([][]*Char, 0)