Triple-quoted string font-lock problem
Bug #328790 reported by
Jreese99
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
Font-lock in xemacs is not displaying triple-quoted strings correctly.
For example:
"""
This is "a test" string
on multiple lines.
"""
The phrases "This is " and " string on multiple lines." are formatted
as strings, but "a test" is not formatted as a string.
It appears that the triple quote is being treated as three
individual quotation marks instead of as a single entity.
A fix for this will be greatly appreciated. I *love* python-mode.el!
[http://
Related branches
lp:~a-roehler/python-mode/tqs-302834-amend
- python-mode.el developers: Pending requested
-
Diff: 349 lines (+178/-63)1 file modifiedpython-mode.el (+178/-63)
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
assignee: | nobody → Andreas Roehler (a-roehler) |
To post a comment you must log in.
This is not something python-mode can realistically address.
As you properly guess, because of limitations in Emacs'
(and XEmacs') built-in syntax table implementation,
python-mode has no choice but to treat triple quoted strings
as three separate entities.