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.
have a line var a = 'multipart/form-data, boundary=|; charset=UTF-8; At the position marked with '|'char try to split the string. - insert ' - insert second ' -> NB complete the third ', so the line is: var a = 'multipart/form-data, boundary=''|'; charset=UTF-8; - now press backspace to delete the second ' -> NB deletes also the third one. The behavior should be the same as in java editor.
I tested your sample in Java and it is exactly the same.