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.
[ JDK VERSION : 1.7.0_25 ] HOW TO REPRODUCE 1) Paste the following code snippet into a new PHP 5.2 project $v1="b ${"v2"[} d"; 2) Position the caret where the vertical pipe is: $v1="b ${"v2"[|} d"; 3) Hit backspace. EXPECTED RESULT: The left square bracket is deleted: $v1="b ${"v2"|} d"; ACTUAL RESULT: The right curly brace is deleted as well: $v1="b ${"v2"| d";
Fixed in web-main #d664a7bcafc4
Integrated into 'main-silver', will be available in build *201309060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d664a7bcafc4 User: Ondrej Brejla <obrejla@netbeans.org> Log: #235426 - PHP parentesis deletion matches square brackets with curly braces
Verified, thanks. Product Version: NetBeans IDE Dev (Build 201309060001) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)