SyntaxHighligher: Remove the need to specify format for spaces

It has all means to know itself.

Change-Id: I464c195c5ee47e5fc58414a280c166e4a332c588
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Eike Ziller
2017-05-07 11:12:37 +02:00
parent cf57965ebc
commit f51fbd68e1
6 changed files with 16 additions and 13 deletions

View File

@@ -99,7 +99,7 @@ void ProFileHighlighter::highlightBlock(const QString &text)
break;
}
applyFormatToSpaces(text, formatForCategory(ProfileVisualWhitespaceFormat));
formatSpaces(text);
}
} // namespace Internal