- Code: Select all
Is it possible to capture the other words (the libraries) that occur on the same line, so that I might colour them differently?
However, I would be happy just to capture the whole line that begins with either import or from
Also, is it technically possible to then reference the captured library-names elsewhere in the Python file? I'm thinking that all references to the library could use the same colour that is given to them on the import/from line. [I'm thinking it's either not possible, or v.difficult ]