Commit 280a99b6 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Invoke onBlockEnd() after the block highlighter is done.

parent fa925ccd
......@@ -161,9 +161,8 @@ void QScriptHighlighter::highlightBlock(const QString &text)
else if (text.length() > lastEnd)
setFormat(lastEnd, text.length() - lastEnd, m_formats[VisualWhitespace]);
onBlockEnd(m_scanner.endState(), firstNonSpace);
onBlockEnd(m_scanner.endState(), firstNonSpace);
void QScriptHighlighter::setFormats(const QVector<QTextCharFormat> &s)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment