Syntax highlighting error with Qt6
photoniker opened this issue · 0 comments
photoniker commented
import inspect
import sys
import numpy as np
from numpy import linalg as la
With Qt6, the word
numpy
is also hightlighted in the same colors than the keywords import and as. This seems to a QRegularExpression issue. The same holds for the last line, where all word besides the last one are highlighted.
The reason for this is the
as
keyword.
[Issue created by M. Gronle: 2023-01-22]
[Comment created by M. Gronle: 2023-01-22]
fixes issue 255: wrong syntax highlighting for import statements with as
keyword.
→ <<cset 10cf49c>>