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.
Summary: | Rename variable broken inside 'if' conditional | ||
---|---|---|---|
Product: | javascript | Reporter: | zdro <zdro> |
Component: | Editor | Assignee: | Torbjorn Norbye <tor> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | simple code showing wrong selection in 'if' during 'rename' |
Description
zdro
2008-05-30 13:24:50 UTC
Created attachment 62166 [details]
simple code showing wrong selection in 'if' during 'rename'
Thank you! The problem had to do with spaces inside the left parenthesis of an if conditional expression. I've fixed the problem and have added unit tests for this scenario. Changeset: a7a08e5b21b8 The fix will appear in build #2104 or later from http://deadlock.netbeans.org/hudson/job/trunk/ v. The fix has been ported into the release61_fixes branch: http://hg.netbeans.org/release61_fixes/a579e6e30351 |