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 257677 - Incorrect automatic indentation when typing script tag.
Summary: Incorrect automatic indentation when typing script tag.
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2016-01-22 13:17 UTC by Echo89
Modified: 2016-07-16 09:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot of error. (29.05 KB, image/png)
2016-01-22 13:17 UTC, Echo89

Note You need to log in before you can comment on or make changes to this bug.
Description Echo89 2016-01-22 13:17:56 UTC
Created attachment 158220 [details]
Screenshot of error.


When writing HTML, specifically a script tag, when typing the '>' character on the closing script tag, the closing script tag's indentation is incorrectly set. See the screenshot, taken directly after I typed the '>' on the closing script tag.
Comment 1 Milutin Kristofic 2016-07-16 09:21:58 UTC
Hi, I am sorry for this late response. I cannot reproduce this behavior. Do you have some options changed from default. It should autoclose by default, you at least need to press enter it just offer completion and this completion is added on the same line. 

Also can you send sample file, where I can encounter. It can be caused by nonstandard elements in the beginning of file.