forked from tslocum/cview
Don't skip regions at end of line
This commit is contained in:
parent
7c849dd501
commit
6e0ac2dd4b
|
@ -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…
Reference in New Issue