| Summary: | [validation] Text after HTML style comment in JavaScript region marked as validation error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Ian Tewksbury <itewksbu> | ||||
| Component: | Web | Assignee: | Project Inbox <jsdt.web-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cmjaun, thatnitind | ||||
| Version: | 3.2.2 | ||||||
| Target Milestone: | 3.2.2 P | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ian Tewksbury
Fix for 3.2.3 and 3.3 being tracked by Bug 326422 Created attachment 179746 [details]
Fix Patch
This fix takes care of fixing the JsTranslator and FormattingStrategyJSDT. This in turn fixes the invalid validation message and deals with formatting this situation. What is not fixed by this is syntax highlighting. The text following the leading HTML comment will still show styled as JS content and not as a JS comment. A separate bug will be opened to fix that.
The patch for Bug 313624 has been updated to deal with the syntax highlighting issues that come along with this problem. Though that fix is substantially bigger and was not sure if you were interested in a 3.2.2p version of that patch or not, if so I can create another bug for that. What's fixed in here that's not covered by bug 326817 nor bug 326818? (In reply to comment #4) > What's fixed in here that's not covered by bug 326817 nor bug 326818? Apparently Chris was not aware I already had a bugzilla open for 3.2.2p for this issue. It would seem that Bug 326818 is a clone if this bug. To clarify: 3.0.5p - Bug 326303 3.2.2p - This bug & Bug 326818 (only need one of them) 3.2.3/3.3 - Bug 326422 *** This bug has been marked as a duplicate of bug 326818 *** |