diff options
author | mae <qt-info@nokia.com> | 2009-09-16 12:15:27 (GMT) |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-09-17 12:13:24 (GMT) |
commit | f2d5e83afcc30de4d77b30f90df6f82e53796d59 (patch) | |
tree | 9d7a463d096d972dd47a6ee47302529344eb5495 /src/declarative/qml/qmlengine_p.h | |
parent | 9f587663a8d64df683381292b6cf80f9e48bb989 (diff) | |
download | Qt-f2d5e83afcc30de4d77b30f90df6f82e53796d59.zip Qt-f2d5e83afcc30de4d77b30f90df6f82e53796d59.tar.gz Qt-f2d5e83afcc30de4d77b30f90df6f82e53796d59.tar.bz2 |
Fix to QSyntaxHighlighter not rehighlighting enough
When entire blocks get deleted, the last block for rehighlighting
would be the block _before_ the deleted blocks. This is wrong,
since the deleted blocks could have contained characters which
affect the state. The patch lets the highlighter check for one
more character.
Reviewed-by: thorbjorn
(cherry picked from commit fd2090b925f46bc0dfffd34612a9bfcd276c3266)
Diffstat (limited to 'src/declarative/qml/qmlengine_p.h')
0 files changed, 0 insertions, 0 deletions