Skip to content
Commit f0981ea4 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

[Python Backend] Port QRegExp to QRegularExpression

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 pythong session in cantor shows that syntax highlighting
still works.
parent 1f2dadf6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment