Help! Can't get Python syntax highlighting to work
Submitted by Friday, 25 May, 2012 - 12:34
on
At work, others like to strip off the .py on some python files which wouldn't be a big deal, except they also have '#! python' instead of the more normal pattern of something like '#! /usr/bin/env python'. So I changed the /path/to/my/jedit/settings/catalog file to have a copy/paste of the python file mode from the /path/to/jedit/install/settings/modes/catalog file except I removed '*/' from the FIRST_LINE_GLOB so it would match both the normal and the less normal that is used at my work.
That was great - it now recognizes both file types as python. Unfortunately, I no longer have syntax highlighting for the Python edit mode. I've undone my changes, and updated from Python 4.5.0 to 4.5.1 just to make sure I hadn't modified the original catalog or did something else weird (I'm pretty sure I didn't anyway), but syntax highlighting for Python is still broken.
Please help!
That was great - it now recognizes both file types as python. Unfortunately, I no longer have syntax highlighting for the Python edit mode. I've undone my changes, and updated from Python 4.5.0 to 4.5.1 just to make sure I hadn't modified the original catalog or did something else weird (I'm pretty sure I didn't anyway), but syntax highlighting for Python is still broken.
Please help!