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.

Bug 173385

Summary: [html editor folding] strange folding of wrong code
Product: javaee Reporter: matusdekanek <matusdekanek>
Component: CodeAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description matusdekanek 2009-09-30 12:34:30 UTC
Product Version: NetBeans IDE Dev (Build 200909221401)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

-create a web project
-create a html file
-clear it and insert code:
<html dir="ltr" version="" lang="" >
	<head>
		<title></title>
	</head>
	<body>
	</body>

	<a>
	</a>
</html>
The folding ends right after the </body> tag, the rest of the file is folded separately - the <html> tags are not 
matched for folding.

Is this behaviour a bug or a feature?
Comment 1 Martin Balin 2016-07-07 08:53:08 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss