Python highlight is wrong (maybe only on pt-br translation)

Bug #195455 reported by Alexandre
2
Affects Status Importance Assigned to Milestone
gtksourceview (Ubuntu)
New
Undecided
Unassigned

Bug Description

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

python language spec seems to be conflicting the Single and Double quoted strings with
Multiline Single and Double strings.

the error can be reproduced in a Pt-br environment installing scribes text editor, accessing
"Editor de cores" menu entry, and chosing python on tree view.
we can see two entries of

"Texto entre aspas simples"
and
"Texto entre aspas duplas"

the problem is solved by changing file atribute _name of tags <string> on lines 17 and 22 from original name to another one (any)
/usr/share/gtksourceview-1.0/language-specs/python.lang file

I not tested it in an another language environment.

Revision history for this message
Alexandre (lexrupy) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.