Kate syntax highlighting fails if line of Python code starts with a quotation mark
Bug #1186958 reported by
abece
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kate (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Editor: Kate
Syntax highlighter: Python
If, in the Kate text editor, the first non-whitespace character inside a line of Python code is either " or ' , then the rest of the line is incorrectly highlighted like a comment. The correct behaviour would be to highlight it like a string.
The bug appeared in Ubuntu Raring and was not yet present in Ubuntu Quantal.
An image that shows the behaviour is attached to this bug report.
To post a comment you must log in.
The bug seems to be fixed in the kate Git repository
sudo wget https:/ /projects. kde.org/ projects/ kde/application s/kate/ repository/ revisions/ master/ raw/part/ syntax/ data/python. xml -O /usr/share/ kde4/apps/ katepart/ syntax/ python. xml