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

@@ -84,7 +84,7 @@ protected:
void setFormat(int start, int count, const QFont &font);
QTextCharFormat format(int pos) const;
void applyFormatToSpaces(const QString &text, const QTextCharFormat &format);
void formatSpaces(const QString &text);
int previousBlockState() const;
int currentBlockState() const;