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 222744 - Annoying behavior of completing '
Summary: Annoying behavior of completing '
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 09:43 UTC by Petr Pisl
Modified: 2012-11-27 14:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2012-11-26 09:43:29 UTC
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.
Comment 1 Petr Hejl 2012-11-27 14:46:24 UTC
I tested your sample in Java and it is exactly the same.