This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Development build #200502012121 of NetBeans 4.1 Windows XP, 1.5.0_02 build #05 Description: ============ Java expressions are not indented correctly if "Reformat Code" action is called within editor area. Please see attached screenshot to get what I mean. Steps to reproduce: =================== 1. Create new sample web project. 2. Type the following expression at line 24 of index.jsp. <%= new java.util.Date() %> 3. Right click editor area and choose "Reformat Code" action. 4. The expression won't be indented properly.
Created attachment 20137 [details] Picture of unindented Java expression.
Reassigning to Marek.
fixed Checking in JspFormatter.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspFormatter.java,v <-- JspFormatter.java new revision: 1.19; previous revision: 1.18 done
Verified in Beta build #200502222100 of NetBeans 4.1.