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

pull/391/head
Oliver 5 years ago
parent c6236f4421
commit 5bbae91e1e

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

Loading…
Cancel
Save