forked from qt-creator/qt-creator
TextEditor: update matching parenthesis in the editor
... after updating the parenthesis in the layout Task-number: QTCREATORBUG-26183 Change-Id: I346046fbc3932b94227c1ac5bee6b0d7c44651e1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -52,8 +52,12 @@ struct TEXTEDITOR_EXPORT Parenthesis
|
||||
QChar chr;
|
||||
Utils::Id source;
|
||||
Type type = Opened;
|
||||
|
||||
bool operator==(const Parenthesis &other) const;
|
||||
};
|
||||
|
||||
TEXTEDITOR_EXPORT QDebug operator<<(QDebug debug, const Parenthesis &parenthesis);
|
||||
|
||||
class TEXTEDITOR_EXPORT CodeFormatterData
|
||||
{
|
||||
public:
|
||||
@@ -231,6 +235,7 @@ public:
|
||||
signals:
|
||||
void updateExtraArea();
|
||||
void foldChanged(const int blockNumber, bool folded);
|
||||
void parenthesesChanged(const QTextBlock block);
|
||||
};
|
||||
|
||||
} // namespace TextEditor
|
||||
|
||||
Reference in New Issue
Block a user