diff options
author | Christian Stenger <christian.stenger@qt.io> | 2020-07-03 14:14:05 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2020-07-07 05:11:11 +0000 |
commit | c7bc8a98ac300aeff854bdbbae260cf9fc440a73 (patch) | |
tree | 80389d0eb8cdbdeb84f7e8dad480cf370fb9519f /src/plugins/python/pythonscanner.h | |
parent | f5d9091f56246710a48746ea96a68951b3332812 (diff) | |
download | qt-creator-c7bc8a98ac300aeff854bdbbae260cf9fc440a73.tar.gz |
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>
Diffstat (limited to 'src/plugins/python/pythonscanner.h')
-rw-r--r-- | src/plugins/python/pythonscanner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/python/pythonscanner.h b/src/plugins/python/pythonscanner.h index 5d37f3ba11..dfa99ef099 100644 --- a/src/plugins/python/pythonscanner.h +++ b/src/plugins/python/pythonscanner.h @@ -67,6 +67,7 @@ private: FormatToken readDoxygenComment(); FormatToken readWhiteSpace(); FormatToken readOperator(); + FormatToken readBrace(bool isOpening); void clearState(); void saveState(State state, QChar savedData); |