With the following option enabled:
Options -> Editor -> Code Completion -> Language: HTML -> Completion Offers End Tags After Less Than (<) Character
If I am working on some HTML and as an example have the following text:
Entering that final Less Than (<) brings up the autocomplete menu as it should and the first option is </p>, which is what I want, but when I press enter I get the following result:
Notice that the "c" has been deleted. I get this error for any end tag that I complete in this way.
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01
hmm really ugly, reproducible. Likely not spot earlier since not many people enable the option "add end tags after < char" in the preferences.
fixed in web-main#efdb57f05e71
Integrated into 'main-golden'
User: Marek Fukala <firstname.lastname@example.org>
Log: #204227 - When HTML Completion Offers End Tags After Less Than Character option is enabled and used the previous character gets deleted
Product Version: NetBeans IDE 7.1 RC2 (Build 201111302200)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-13-generic-pae running on i386; UTF-8; en_US (nb)