fix: Error when drawing selection line of txt file.
This commit is contained in:
parent
65c2a284d7
commit
907aa41a8e
|
@ -448,7 +448,7 @@ void QSynEditPainter::paintToken(
|
|||
nX += glyphWidth;
|
||||
}
|
||||
tokenWidth += glyphWidth;
|
||||
if (tokenWidth > last)
|
||||
if (tokenWidth >= last)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue