Bug 338790 - [editor] Syntax coloring broken for commented code in web pages
Summary: [editor] Syntax coloring broken for commented code in web pages
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: Web (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 07:18 EST by Evgeniy Karyakin CLA
Modified: 2013-06-19 11:10 EDT (History)
0 users

See Also:


Attachments
Example JSP source code (809 bytes, text/plain)
2011-03-03 07:20 EST, Evgeniy Karyakin CLA
no flags Details
Descriptive screenshot (17.84 KB, image/png)
2011-03-03 07:30 EST, Evgeniy Karyakin CLA
no flags Details

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