diff --git a/textview.go b/textview.go index 1e4a55f..ddc4252 100644 --- a/textview.go +++ b/textview.go @@ -672,7 +672,7 @@ func (t *TextView) reindexBuffer(width int) { } // Is the next tag in range? - if tagIndex < 0 || minPos >= tagEnd+remainingLength { + if tagIndex < 0 || minPos > tagEnd+remainingLength { break // No. We're done with this line. }