Fixed off-by-one error in TextView which led to line-trailing tags be moved to the next line. Fixes #336

This commit is contained in:
Oliver 2020-01-07 20:56:27 +01:00
parent c6236f4421
commit 5bbae91e1e
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.
}