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 206584 - Code completion provides incorrect doWhile option inside String regex literal
Summary: Code completion provides incorrect doWhile option inside String regex literal
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 15:53 UTC by crazyjavahacking
Modified: 2012-01-07 16:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bug proof (12.80 KB, image/png)
2011-12-20 15:53 UTC, crazyjavahacking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2011-12-20 15:53:52 UTC
Created attachment 114365 [details]
bug proof

Following code:

String regex = "\\d+";

will provide code completion for do while when the caret is between 'd' and '+' characters
Comment 1 Dusan Balek 2012-01-06 10:26:34 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/ebca25f65432
Comment 2 Quality Engineering 2012-01-07 16:21:12 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/ebca25f65432
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #206584: Code completion provides incorrect doWhile option inside String regex literal - fixed.