forked from qt-creator/qt-creator
TextEditor: add convenience function to clear all extra highlights
Change-Id: Id3a3c45041a23ba100447d926ed6ab829abbc92b Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -65,6 +65,7 @@ public:
|
||||
|
||||
void setExtraFormats(const QTextBlock &block, QVector<QTextLayout::FormatRange> &&formats);
|
||||
void clearExtraFormats(const QTextBlock &block);
|
||||
void clearAllExtraFormats();
|
||||
|
||||
static QList<QColor> generateColors(int n, const QColor &background);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user