Skip to content

[Python Backend] Port QRegExp to QRegularExpression

Ahmad Samir requested to merge (removed):l-python into master

PythonHighlighter::highlightBlock(): Make the regex's static const to improve performance, assuming this is a high traffic code path. Also use QVector instead of QList.

All unit tests pass except for testlua (fails the same way on master); and testworksheet which hangs (on master too).

A quick test with a python session in cantor shows that syntax highlighting still works.

Edited by Ahmad Samir

Merge request reports