Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326817 - [editor] Leading and trailing HTML style comments in a JS region are not syntax highlighted as expected
Summary: [editor] Leading and trailing HTML style comments in a JS region are not synt...
Status: CLOSED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Web (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2.2 P   Edit
Assignee: Ian Tewksbury CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on: 313624
Blocks:
  Show dependency tree
 
Reported: 2010-10-01 17:00 EDT by Chris Jaun CLA
Modified: 2010-10-15 10:49 EDT (History)
3 users (show)

See Also:
thatnitind: review+


Attachments
patch (23.06 KB, patch)
2010-10-01 17:05 EDT, Chris Jaun CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.