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

Bug 338790

Summary: [editor] Syntax coloring broken for commented code in web pages
Product: [WebTools] JSDT Reporter: Evgeniy Karyakin <anthropophagite>
Component: WebAssignee: Project Inbox <jsdt.web-inbox>
Status: NEW --- QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: Future   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Example JSP source code
none
Descriptive screenshot none

Description Evgeniy Karyakin CLA 2011-03-03 07:18:11 EST
Build Identifier: 20090920-1017

It is seen as broken after a search made through Search->File menu dialogue.
When you make a search by ordinary Ctrl-F facility, there's no such bug.

Reproducible: Always

Steps to Reproduce:
1. Open example JSP file attached. Line 20 has this problem comment.
2. Go to Search->File dialogue, enter '|| "' (without single quotes) and engage search.
3. Comment on line 20 is coloured as working code.

Steps to reproduce another situation:

1. Manually remove and type again two slashes to fix colouring.
2. Open "Search" view and press "Remove all matches" button to clean the view.
3. Syntax colouring is broken again.
Comment 1 Evgeniy Karyakin CLA 2011-03-03 07:20:02 EST
Created attachment 190252 [details]
Example JSP source code
Comment 2 Evgeniy Karyakin CLA 2011-03-03 07:30:14 EST
Created attachment 190253 [details]
Descriptive screenshot