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

Bug 340551

Summary: [editor] Mixed JSP and JavaScript closing braces
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: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Example JSP none

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