Python: Fix highlighting of parentheses

This enables the PythonEditor to handle (un)matching
parentheses correctly.

Change-Id: I31516a5fee922de6b3cfc2254b209739bc42c540
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2020-07-03 14:14:05 +02:00
parent f5d9091f56
commit c7bc8a98ac
4 changed files with 27 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ private:
FormatToken readDoxygenComment();
FormatToken readWhiteSpace();
FormatToken readOperator();
FormatToken readBrace(bool isOpening);
void clearState();
void saveState(State state, QChar savedData);