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

Bug 326817

Summary: [editor] Leading and trailing HTML style comments in a JS region are not syntax highlighted as expected
Product: [WebTools] JSDT Reporter: Chris Jaun <cmjaun>
Component: WebAssignee: Ian Tewksbury <itewksbu>
Status: CLOSED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: ccc, cmjaun, itewksbu
Version: 3.2Flags: thatnitind: review+
Target Milestone: 3.2.2 P   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 313624    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description Chris Jaun CLA 2010-10-01 17:00:23 EDT
+++ This bug was initially created as a clone of Bug #313624 +++

For situations where users escape their JS regions with HTML style comments for browser backward compatibility the LineStyleProviderForJSDT does not know how to handle these comments:

EX:
<script type="text/javascript">
<!--
	var t = true;
//--> 
</script>
Comment 1 Chris Jaun CLA 2010-10-01 17:05:11 EDT
Created attachment 180091 [details]
patch
Comment 2 Carl Anderson CLA 2010-10-09 08:29:36 EDT
Committed to R3_2_2_patches
Comment 3 Ian Tewksbury CLA 2010-10-15 10:49:04 EDT
Verified in latest patch build.