Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340551 - [editor] Mixed JSP and JavaScript closing braces
Summary: [editor] Mixed JSP and JavaScript closing braces
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: Web (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 05:14 EDT by Evgeniy Karyakin CLA
Modified: 2013-06-19 11:11 EDT (History)
0 users

See Also:


Attachments
Example JSP (533 bytes, text/plain)
2011-03-21 05:16 EDT, 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-21 05:14:29 EDT
Build Identifier: 20110218-0911

JSP editor mixes its own closing braces with JavaScript's ones.
It's reproducible with clean workspace and newly created Dynamic web project. The only configuration I've made over default settings are JDK6 and "Show line numbers" in "Text editors" preference.
Don't know if this happens because source page has syntax error or not.

Reproducible: Always

Steps to Reproduce:
1. Open example JSP page. Place cursor at the end on the line 13.
2. Press Enter.
3. JavaScript closing brace appeares on line 15 when it should be JSP's one.
Comment 1 Evgeniy Karyakin CLA 2011-03-21 05:16:29 EDT
Created attachment 191600 [details]
Example JSP