forked from qt-creator/qt-creator
Fix style of whitespace in diff description
Task-number: QTCREATORBUG-9445 Change-Id: I1c60181b7e15c66b88cc1d5ec7584951d3aa46a0 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -78,7 +78,10 @@ protected:
|
||||
void setDefaultTextFormatCategories();
|
||||
void setTextFormatCategories(int count, std::function<TextStyle(int)> formatMapping);
|
||||
QTextCharFormat formatForCategory(int categoryIndex) const;
|
||||
virtual void highlightBlock(const QString &text) = 0;
|
||||
|
||||
// implement in subclasses
|
||||
// default implementation highlights whitespace
|
||||
virtual void highlightBlock(const QString &text);
|
||||
|
||||
void setFormat(int start, int count, const QTextCharFormat &format);
|
||||
void setFormat(int start, int count, const QColor &color);
|
||||
|
||||
Reference in New Issue
Block a user