Syntax highlighting error with Qt6

Issue #255 resolved
M. Gronle created an issue
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.

Comments (2)

  1. Log in to comment