Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 381685

Summary: TextStyler does not preserve syntax highlighting over line continuations
Product: [ECD] Orion Reporter: Mihai Sucan <mihai.sucan>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: unspecified   
Target Milestone: 0.5 RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Mihai Sucan CLA 2012-06-05 07:21:16 EDT
(based on https://bugzilla.mozilla.org/show_bug.cgi?id=725586 )

Given the CSS code:

01 body {
02   background-image: url('foobar1\
03 foobar2\
04 bazbaz');
05 }

The color at the end of line 2 isn't preserved for lines 3 and 4 as expected.

The same problem is valid for JS code:

01 var foo = "foo\
02 bar");


We would like the TextStyler to handle line continuations for CSS and JS. Thank you!