Fix small bug
This commit is contained in:
parent
54bb99d758
commit
d55e7319da
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue