Closed
Bug 725586
Opened 12 years ago
Closed 10 years ago
Source Editor does not preserve syntax highlighting over line continuations
Categories
(DevTools :: Source Editor, defect, P3)
DevTools
Source Editor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cedricv, Assigned: anton)
References
Details
(Whiteboard: [sourceeditor][orion])
Example:
1 body {
2 background-image: url('data:image/png;base64, \
3 iVBORw0KGgoAAAANSUhEUgAAACoAAAAwCAMAAABQUBiUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ \
4 bWFnZVJlYWR5ccllPAAAAJxQTFRFAAAA=');
5 }
The color at the end of line 2 isn't preserved for lines 3 and 4 as expected.
Comment 1•12 years ago
|
||
Is that allowed in CSS?
| Reporter | ||
Comment 2•12 years ago
|
||
Yes it is. The same problem happens with line continuations in JavaScript mode too : var foo = "foo\ bar");
Comment 3•12 years ago
|
||
Thanks then! I'll ping the upstream team about this.
Whiteboard: [sourceeditor][orion]
Version: unspecified → Trunk
Comment 4•12 years ago
|
||
Not even Vim handles line continuations in JS strings... but newlines are allowed in CSS strings.
Comment 5•12 years ago
|
||
Reported the bug upstream: https://bugs.eclipse.org/bugs/show_bug.cgi?id=381685 Thanks for your report!
Priority: -- → P3
Comment 6•12 years ago
|
||
This is now fixed upstream. We should take this fix in the next Orion update.
Depends on: 759351
Comment 7•11 years ago
|
||
Moving to Source Editor component. Filter on CHELICERAE.
Component: Developer Tools → Developer Tools: Source Editor
| Assignee | ||
Comment 8•10 years ago
|
||
Assigning to me to see if this is still an issue with CM.
Assignee: nobody → anton
| Assignee | ||
Comment 9•10 years ago
|
||
This is not an issue with CM: http://cl.ly/image/2u1T2N1U3o3B
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•