GNOME Bugzilla – Bug 349662
syntax highlight: all lines starting with "from" or "import" are treated as import lines
Last modified: 2006-08-19 14:37:11 UTC
Please describe the problem: a python script with a line like this: import_my_stuff(file, foo) ...is highlighted as an "import" statement. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information: this can be fixed by editing the "include" pattern. change this: ^(import|from).*?$ to this: ^(import |from ).*?$ note the spaces after the words.
Thanks. Fixed in the 1.0.x branch of CVS.