After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 349662 - syntax highlight: all lines starting with "from" or "import" are treated as import lines
syntax highlight: all lines starting with "from" or "import" are treated as i...
Status: RESOLVED FIXED
Product: bluefish
Classification: Other
Component: application
1.0.4
Other All
: Normal minor
: ---
Assigned To: Bluefish Maintainer(s)
Bluefish Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-08-02 12:13 UTC by ind.bugz01
Modified: 2006-08-19 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ind.bugz01 2006-08-02 12:13:45 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.
Comment 1 Jim Hayward 2006-08-19 14:37:11 UTC
Thanks. Fixed in the 1.0.x branch of CVS.