forked from qt-creator/qt-creator
TextEditor: fix highlighting whitespaces with ksyntax highlighter
Fixes: QTCREATORBUG-22097 Change-Id: Ia69198635e289fc6eff8d95bf1cdf59bda2e04e1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -290,6 +290,7 @@ void Highlighter::highlightBlock(const QString &text)
|
||||
|
||||
if (block.isValid())
|
||||
TextDocumentLayout::userData(block)->setSyntaxState(state);
|
||||
formatSpaces(text);
|
||||
}
|
||||
|
||||
void Highlighter::applyFormat(int offset, int length, const KSyntaxHighlighting::Format &format)
|
||||
|
Reference in New Issue
Block a user