Don't skip regions at end of line

This commit is contained in:
Sam Whited 2019-08-24 18:06:28 -05:00 committed by Trevor Slocum
parent 7c849dd501
commit 6e0ac2dd4b
1 changed files with 1 additions and 1 deletions

View File

@ -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.
}