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.
Whilst indenting nested HTML tags correctly, closing these tags do not get automatically indented back to the position of their corresponding opening tags. How to reproduce: 1. Create a new html file 2. Write this: <table> <tr> <td> text here 3. the tr, the td, and the text are indented perfectly 4. hitting enter and writing </td> </tr> </table> keeps these last tags in the same indentation depth - under text. I am aware that writing <td> auto-hints the closing </td>, but it's not usable in all cases. It last worked correctly in 7.3.1. Product Version: NetBeans IDE Dev (Build 201309030001) Java: 1.7.0_13; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_13-b20 System: Linux version 3.9.4-debian-c4 running on amd64; UTF-8; en_GB (nb)
hmm, reproducible. It is a regression. Thank you for the report.
fixed in web-main#83aaf6740350 regression of implementing the editor.typinghooks. I forgot to add a unit test for this :-|. I believe as this is productivity breaker and regression it deserves P2 and IMO must be fixed in 7.4.
BTW the fix is trivial and 100% safe + I've added the unit tests.
Agree
Thank you for this! You're great! Keep up the good work! Cheers :)
patch is OK
Integrated into 'main-silver', will be available in build *201309060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/83aaf6740350 User: Marek Fukala <mfukala@netbeans.org> Log: #235452 - Auto un-indentation of closing html tags not working
Verified in trunk, please continue with integration to release74 as described in [1]. Thank you [1] http://wiki.netbeans.org/NetBeans_74_HighResistance Product Version: NetBeans IDE Dev (Build 201309090001) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
changeset: 271847:b8210bb66a3d branch: release74 summary: #235452 - Auto un-indentation of closing html tags not working
Verified in RC1 Product Version: NetBeans IDE 7.4 RC1 (Build 201309092300) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)